### Is your feature request related to a problem? Please describe. I have a 2 line prompt. It'll be a lot more accurate to let me define a regex (`/^: $/`) instead of just matching an ending character. ### Describe the solution you'd like Provide an option to define the entire regex, instead of just the end of the regex. ### Describe alternatives you've considered _No response_ ### Additional context _No response_