Skip to content

Commit

Permalink
remove ')' from regex comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kchien committed Sep 20, 2014
1 parent 7553ad5 commit 6cf88ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/js/jasmine-fixture.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,9 @@ createHTMLBlock = ( ->
(
# one or more of the following three:
(
([\w]+(\[.*?\])+) # 1) one or more words, followed by at least one bracketed attribute
|[^"\]] # 2) anything except double quote and closing bracket
| \\")+ # 3) double quote
([\w]+(\[.*?\])+) # 1. one or more words, followed by at least one bracketed attribute
|[^"\]] # 2. anything except double quote and closing bracket
| \\")+ # 3. double quote
)
"?) # optional double quote
? # .... the preceding parenthesized expression zero (0) or one (1) time
Expand Down
2 changes: 1 addition & 1 deletion dist/jasmine-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
regReference = /(@[\w$_][\w$_\d]+)/i;
regAttrDfn = /(\[([\w-!]+(="?([^"]|\\")+"?)? {0,})+\])/ig;
regAttrs = /([\w-!]+(="([^"]|\\")+")?)/g;
regAttr = /([\w-!]+)(="?((([\w]+(\[.*?\])+)|[^"\]]|\\")+)"?)?/i;
regAttr = /([\w-!]+)(="?((([\w]+\[.*?\])|[^"\]]|\\")+)"?)?/i;
regCBrace = /\{(([^\}]|\\\})+)\}/i;
regExclamation = /(?:([^\\]|^))!([^!]|\\!)+!/g;
regEvents = /\~[\w$]+(=[\w$]+)?/g;
Expand Down
2 changes: 1 addition & 1 deletion dist/jasmine-fixture.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6cf88ce

Please sign in to comment.