Skip to content

Commit cd0dfbc

Browse files
committed
fix(Rnw): Bad regex invalid range end
1 parent c31b782 commit cd0dfbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rnw.nanorc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ color green "(class|extends|goto) ([a-zA-Z0-9_]*)"
1616
color green "[^a-z0-9_-]{1}(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|endif|foreach|endforeach|@|while|public|private|protected|return|true|false|null|TRUE|FALSE|NULL|const|static|extends|as|array|require|include|require_once|include_once|define|do|continue|declare|goto|print|in|namespace|use)[^a-z0-9_-]{1}"
1717

1818
# Functions
19-
color blue "([a-zA-Z0-9_\-$\.]*)\("
19+
color blue "([a-zA-Z0-9_$.-]*)\("
2020

2121
# Variables
2222
color magenta "[a-zA-Z_0-9]* <\-"

0 commit comments

Comments
 (0)