mirror of
https://github.com/ansible/awx.git
synced 2026-03-04 02:01:01 -03:30
Fixed regex that was breaking on parenthesis
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
export default [function() {
|
||||
return {
|
||||
splitSearchIntoTerms(searchString) {
|
||||
return searchString.match(/(?:[^\s("')]+|"[^"]*"|'[^']*')+/g);
|
||||
return searchString.match(/(?:[^\s"']+|"[^"]*"|'[^']*')+/g);
|
||||
},
|
||||
splitTermIntoParts(searchTerm) {
|
||||
let breakOnColon = searchTerm.match(/(?:[^:"]+|"[^"]*")+/g);
|
||||
|
||||
Reference in New Issue
Block a user