Commit graph

3 commits

Author SHA1 Message Date
dc5fbc4026 fix: handle invalid regex patterns by returning the input string
Right now we don't want to be panicking if the user provides an invalid regex.
We also don't really want to be throwing or returning an error, this will mess
with any live preview that is going on in external tools.

We should return the input and let any preview display the text. This will
happen if the user is doing some preview as you type kind of thing.
2024-05-11 21:43:31 +01:00
bb03e09764 feat: add case preserving search and replace 2024-05-11 15:20:43 +01:00
4dc1042c1d test: add regex feature tests 2024-05-11 15:20:03 +01:00