Index: trunk/phase3/includes/libs/JavaScriptDistiller.php |
— | — | @@ -98,7 +98,7 @@ |
99 | 99 | '\'' . // start quote |
100 | 100 | '[^\'\\\\]*' . // a run of non-special characters |
101 | 101 | '(?:' . |
102 | | - '\\\\ .' . // a backslash followed by a character or line ending |
| 102 | + '\\\\ .' . // a backslash followed by any character |
103 | 103 | '[^\'\\\\]*' . // a run of non-special characters |
104 | 104 | ')*' . // any number of the above |
105 | 105 | '\'', // end quote |
— | — | @@ -115,7 +115,7 @@ |
116 | 116 | '[^\r\n\*]' . // not a comment-start or line ending |
117 | 117 | '[^\/\r\n\\\\]*' . // a sequence of non-special characters |
118 | 118 | '(?:' . |
119 | | - '\\\\.' . // an escaped dot |
| 119 | + '\\\\ .' . // a backslash followed by any character |
120 | 120 | '[^\/\r\n\\\\]*' . // a sequence of non-special characters |
121 | 121 | ')*' . // any number of the above |
122 | 122 | '\/[ig]*' , // pattern end, optional modifier |