Skip to content

Commit

Permalink
Merge pull request #642 from dchiller/issue-641-volpiano-search-fix
Browse files Browse the repository at this point in the history
Make volpiano checking regexp global
  • Loading branch information
dchiller authored Oct 23, 2022
2 parents ff6f2e2 + 385fbc6 commit f467b2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default Marionette.ItemView.extend({

// Create a regex that will match all invalid volpiano
// characters
this.invalidVolpianoRegex = /[^1-9a-sw-zA-SW-Z-\(\)]/i
this.invalidVolpianoRegex = new RegExp('[^1-9a-sw-zA-SW-Z-\(\)]', 'g')
},

/** We don't need to do anything real on a submit because the query is set on each change. */
Expand Down

0 comments on commit f467b2e

Please sign in to comment.