mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
use \S rather than a negated \s character set in patterns
This commit is contained in:
@@ -103,7 +103,7 @@ liberator.Command.prototype = {
|
||||
}
|
||||
else if (this.hereDoc)
|
||||
{
|
||||
let matches = args.match(/(.*)<<\s*([^\s]+)$/);
|
||||
let matches = args.match(/(.*)<<\s*(\S+)$/);
|
||||
if (matches && matches[2])
|
||||
{
|
||||
liberator.commandline.inputMultiline(new RegExp("^" + matches[2] + "$", "m"),
|
||||
|
||||
Reference in New Issue
Block a user