1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 15:04:11 +01:00

Fix some :h news issues, document ;A.

This commit is contained in:
Štěpán Němec
2012-02-01 18:50:54 +01:00
parent c4b52258b7
commit f6e6ade181
4 changed files with 10 additions and 9 deletions

View File

@@ -258,7 +258,7 @@ var Template = Module("Template", {
linkifyHelp: function linkifyHelp(str, help) {
let re = util.regexp(<![CDATA[
(?P<pre> [/\s]|^)
(?P<tag> '[\w-]+' | :(?:[\w-]+!?|!) | (?:._)?<[\w-]+>\w* | \b[a-zA-Z]_(?:\w+|.) | \[[\w-]+\] | E\d{3} )
(?P<tag> '[\w-]+' | :(?:[\w-]+!?|!) | (?:._)?<[\w-]+>\w* | \b[a-zA-Z]_(?:[\w[\]]+|.) | \[[\w-;]+\] | E\d{3} )
(?= [[\)!,:;./\s]|$)
]]>, "gx");
return this.highlightSubstrings(str, (function () {