Regexp exclusions
Posted: Tue Sep 23, 2003 5:20 pm
First, I confess I haven't read through all the posts on this forum, and further I'm not a regexp master.
That said, I'd like the pattern exclusion in TextPad enhanced so that you can specify not to match a string, rather than just single chars. Right now, you can exclude a list or a range of individual characters. Like, to not match x, y, or z:
What I'd like to see is some type of extension that would let me exclude a string of chars, like:
Of course, the problem with the above is that you'd really need some escaped character instead of normal quotes, but hopefully you get the idea.
That said, I'd like the pattern exclusion in TextPad enhanced so that you can specify not to match a string, rather than just single chars. Right now, you can exclude a list or a range of individual characters. Like, to not match x, y, or z:
Code: Select all
[^x-z]
Code: Select all
[^"foo"]