View Single Post
Old 02-11-2011, 02:12 PM   #155
msr began at the beginning.
Posts: 20
Karma: 10
Join Date: Jul 2009
Device: Kindle2
Originally Posted by meme View Post
Always good to put an example in that doesn't work

You need to put a "\" before the "[" and the "]" since the brackets are special regex pattern characters, so use "\[.*\]".

I've updated the examples, added a note on patterns, and a tooltip in the GUI about it. Patterns can be confusing - but to get their benefit also means some confusion.
Actually, I tried that and it still didn't work (forgot to add that to the original post). I tried it with quotes, without quotes, with backslashes, without them. I don't think it's escaping the brackets correctly.
msr is offline