Commits

Ned Batchelder committed d6c6c11

OMG i can't believe this was the problem with the regex regex.

Comments (0)

Files changed (1)

                     (   [^*\\/[]            # anything but * \ / or [
                     |   \\.                 # or an escape sequence
                     |   \[                  # or a class, which has
-                            (   [^\]\\]     #   anything but ] or \
+                            (   [^\]\\]     #   anything but \ or ]
                             |   \\.         #   or an escape sequence
                             )*              #   many times
                         \]
                     (   [^\\/[]             # anything but \ / or [
                     |   \\.                 # or an escape sequence
                     |   \[                  # or a class, which has
-                            (   [^\]\\]     #   anything but ] or \
+                            (   [^\]\\]     #   anything but \ or ]
                             |   \\.         #   or an escape sequence
                             )*              #   many times
                         \]