diff options
Diffstat (limited to 'background_page.html')
| -rw-r--r-- | background_page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/background_page.html b/background_page.html index f4a40ffa..9ed81509 100644 --- a/background_page.html +++ b/background_page.html @@ -20,7 +20,7 @@ // Keys are either literal characters, or "named" - for example <a-b> (alt+b), <left> (the left arrow) or <f12> // This regular expression captures two groups, the first is a named key, the second is the remainder of the string. - var namedKeyRegex = /^(<[amc-].|(?:[amc]-)?[a-z0-9]{2,5}>)(.*)$/; + var namedKeyRegex = /^(<(?:[amc]-.|(?:[amc]-)?[a-z0-9]{2,5})>)(.*)$/; var defaultSettings = { scrollStepSize: 60, |
