Source

jslex / jslex.py

Diff from to
                     (   [^*\\/[]            # 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
                         \]