Skip to content

Commit

Permalink
Fixed bad usage of not_regex_match instead of not_regex_contains
Browse files Browse the repository at this point in the history
  • Loading branch information
evandrocoan committed Sep 20, 2019
1 parent 5967a3e commit c9d4ba5
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 21 deletions.
14 changes: 7 additions & 7 deletions Default (Linux).sublime-keymap.hide
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\".*", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": ".*\".*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\"", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "\"", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "[\"a-zA-Z0-9_]$", "match_all": true },
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double - punctuation.definition.string.end", "match_all": true },
]
Expand Down Expand Up @@ -566,8 +566,8 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*'.*", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": ".*'.*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "'", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "'", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "['a-zA-Z0-9_]$", "match_all": true },
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single - punctuation.definition.string.end", "match_all": true },
]
Expand Down Expand Up @@ -604,7 +604,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\).*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\)", "match_all": true },
]
},
{ "keys": ["("], "command": "insert_snippet", "args": {"contents": "(${0:$SELECTION})"}, "context":
Expand Down Expand Up @@ -635,7 +635,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\].*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\]", "match_all": true },
]
},
{ "keys": ["["], "command": "insert_snippet", "args": {"contents": "[${0:$SELECTION}]"}, "context":
Expand Down Expand Up @@ -666,7 +666,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\}.*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\}", "match_all": true },
]
},
{ "keys": ["{"], "command": "wrap_block", "args": {"begin": "{", "end": "}"}, "context":
Expand Down
14 changes: 7 additions & 7 deletions Default (OSX).sublime-keymap.hide
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\".*", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": ".*\".*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\"", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "\"", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "[\"a-zA-Z0-9_]$", "match_all": true },
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double - punctuation.definition.string.end", "match_all": true },
]
Expand Down Expand Up @@ -566,8 +566,8 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*'.*", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": ".*'.*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "'", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "'", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "['a-zA-Z0-9_]$", "match_all": true },
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single - punctuation.definition.string.end", "match_all": true },
]
Expand Down Expand Up @@ -604,7 +604,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\).*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\)", "match_all": true },
]
},
{ "keys": ["("], "command": "insert_snippet", "args": {"contents": "(${0:$SELECTION})"}, "context":
Expand Down Expand Up @@ -635,7 +635,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\].*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\]", "match_all": true },
]
},
{ "keys": ["["], "command": "insert_snippet", "args": {"contents": "[${0:$SELECTION}]"}, "context":
Expand Down Expand Up @@ -666,7 +666,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\}.*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\}", "match_all": true },
]
},
{ "keys": ["{"], "command": "wrap_block", "args": {"begin": "{", "end": "}"}, "context":
Expand Down
14 changes: 7 additions & 7 deletions Default (Windows).sublime-keymap.hide
Original file line number Diff line number Diff line change
Expand Up @@ -528,8 +528,8 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\".*", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": ".*\".*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\"", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "\"", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "[\"a-zA-Z0-9_]$", "match_all": true },
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.double - punctuation.definition.string.end", "match_all": true },
]
Expand Down Expand Up @@ -566,8 +566,8 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|>|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*'.*", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_match", "operand": ".*'.*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "'", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "'", "match_all": true },
{ "key": "preceding_text", "operator": "not_regex_contains", "operand": "['a-zA-Z0-9_]$", "match_all": true },
{ "key": "eol_selector", "operator": "not_equal", "operand": "string.quoted.single - punctuation.definition.string.end", "match_all": true },
]
Expand Down Expand Up @@ -604,7 +604,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\).*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\)", "match_all": true },
]
},
{ "keys": ["("], "command": "insert_snippet", "args": {"contents": "(${0:$SELECTION})"}, "context":
Expand Down Expand Up @@ -635,7 +635,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|;|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\].*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\]", "match_all": true },
]
},
{ "keys": ["["], "command": "insert_snippet", "args": {"contents": "[${0:$SELECTION}]"}, "context":
Expand Down Expand Up @@ -666,7 +666,7 @@
{ "key": "setting.auto_match_enabled", "operator": "equal", "operand": true },
{ "key": "selection_empty", "operator": "equal", "operand": true, "match_all": true },
{ "key": "following_text", "operator": "regex_contains", "operand": "^(?:\t| |\\)|]|\\}|$)", "match_all": true },
{ "key": "following_text", "operator": "not_regex_match", "operand": ".*\\}.*", "match_all": true },
{ "key": "following_text", "operator": "not_regex_contains", "operand": "\\}", "match_all": true },
]
},
{ "keys": ["{"], "command": "wrap_block", "args": {"begin": "{", "end": "}"}, "context":
Expand Down

0 comments on commit c9d4ba5

Please sign in to comment.