1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 16:52:25 +01:00

use \S rather than a negated \s character set in patterns

This commit is contained in:
Doug Kearns
2008-10-04 03:14:04 +00:00
parent 7b324a05b1
commit 3ceecbaf52
5 changed files with 7 additions and 7 deletions

View File

@@ -824,7 +824,7 @@ lookup:
else if (command.name == "javascript")
{
// check for a heredoc
let matches = args.match(/(.*)<<\s*([^\s]+)$/);
let matches = args.match(/(.*)<<\s*(\S+)$/);
if (matches)
{