-
I have made an image to make things clear: http://img41.imageshack.us/img41/6231/64039738.png.
2009-09-22 11:52:07 UTC in Notepad++
-
The problem isn't "ig", look at this: / ( \ ) ) /
The first parenthesis should be matched (I mean when the cursor is near the parenthesis and the parenthesis color change to red) with the third since the second one is escaped (escaped parenthesis must be considered as characters and not as parenthesis).
2009-09-22 11:41:57 UTC in Notepad++
-
And what about the wrong parenthesis matching?.
2009-09-22 00:57:49 UTC in Notepad++
-
The first parenthesis should be matched with the third since the second one is escaped.
2009-09-20 16:18:42 UTC in Notepad++
-
Again, it is the code of this forum that take off the character.
/ ( [ a - z ] \ ) [ a - z ] ) / i g ;.
2009-09-20 16:15:51 UTC in Notepad++
-
Apparently it was missing in my first message, it should be: var urlRegex = /([a-z]\)[a-z])/ig;.
2009-09-20 16:14:14 UTC in Notepad++
-
The parenthesis is escaped with this: \.
2009-09-20 16:11:50 UTC in Notepad++
-
Wrong parenthesis matching in regexp of javascript.
Example: var urlRegex = /([a-z]\)[a-z])/ig;
In this part: \)
the parenthesis should be considered as normal character.
2009-09-17 14:01:15 UTC in Notepad++