Skip to content

Commit

Permalink
Update supported JavaScript version
Browse files Browse the repository at this point in the history
- Now using node.js
- Updated literal chars escapes
  • Loading branch information
aureliojargas committed May 6, 2020
1 parent 46a6ada commit 61abe24
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/cmdline.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ $ txt2regex --showmeta | sed 's/ *$//'
find + ? {} | () find (GNU findutils) 4.7.0-git
gawk + ? {} | () GNU Awk 4.1.4
grep \+ \? \{\} \| \(\) grep (GNU grep) 3.1
javascript + ? {} | () netscape-4.77
javascript + ? {} | () node v8.10.0
lex + ? {} | ()
mawk + ? | () mawk 1.3.3 Nov 1996
mysql + ? {} | () Ver 11.13 Distrib 3.23.36
Expand Down
2 changes: 1 addition & 1 deletion tests/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ $ txt2regex --all --history '23¤.*+?[]{}()|^$\'
Regex find : \.\*\+\?\[]\{}\()\|\^\$\\
Regex gawk : \.\*\+\?\[]{}\()\|\^\$\\
Regex grep : \.\*+?\[]{}()|^$\\
Regex javascript: \.\*\+\?\[]\{}\()\|\^\$\\
Regex javascript: \.\*\+\?\[]{}\(\)\|\^\$\\
Regex lex : \.\*\+\?\[]\{}\()\|^$\\
Regex mawk : \.\*\+\?\[]{}\(\)\|\^\$\\
Regex mysql : \\.\\*\\+\\?\\[]{}\\()\\|\\^\\$\\\
Expand Down
4 changes: 2 additions & 2 deletions txt2regex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ allversions=(
'find (GNU findutils) 4.7.0-git'
'GNU Awk 4.1.4'
'grep (GNU grep) 3.1'
'netscape-4.77' #javascript
'node v8.10.0'
'' # lex
'mawk 1.3.3 Nov 1996'
'Ver 11.13 Distrib 3.23.36' # mysql
Expand Down Expand Up @@ -561,7 +561,7 @@ ax_expect=( '' '|' '(' ')' '\' '\.*[,{}()|+?^$' '\' 'P' '\t')
ax_find=( '' '|' '(' ')' '\' '\.*[,{,(,|+?^$' ',' 'P' ',' )
ax_gawk=( '' '|' '(' ')' '\' '\.*[,,,(,|+?^$' '\' 'P' '\t')
ax_grep=( '' '\|' '\(' '\)' '\' '\.*[,,,,,,,,,,' ',' 'P' ',' )
ax_javascript=('' '|' '(' ')' '\' '\.*[,{,(,|+?^$' '\' ',' '\t')
ax_javascript=('' '|' '(' ')' '\' '\.*[,,,()|+?^$' '\' ',' '\t')
ax_lex=( '' '|' '(' ')' '\' '\.*[ { ( |+? ' ' ' ' ' ' ' )
ax_mawk=( '' '|' '(' ')' '\' '\.*[,,,()|+?^$' '\' ',' '\t')
ax_mysql=( '' '|' '(' ')' '\\' '\.*[,,,(,|+?^$' '\' 'P' '\t')
Expand Down

0 comments on commit 61abe24

Please sign in to comment.