Quote:
Originally Posted by hobnail
So why did my extra parentheses screw it up?
|
I think I understand it; the parentheses are telling the or bar what it's working on. It's not like a regular programming language where you could say "boolean a = (b) | (c);"
So I'm guessing I could add some extra parentheses around it and it would still work, but I haven't tested it; Page_(([xvi]+)|(\d+))
And I didn't know that you could use \1 in the same regexp; I thought you could only use it in the replacement part. That's nice to know.