Fix regex error in Rnw.nanorc

An error would show up:
Error en /home/user/.nano/Rnw.nanorc en la línea 19: Regex «([a-zA-Z0-9_-.$]*)\(» incorrecta: Final de rango inválido
The regex was invalid.
This commit is contained in:
Víctor Pont 2019-10-02 11:08:36 +02:00 committed by GitHub
parent 37c5b36068
commit 1c96a4830f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ color green "(class|extends|goto) ([a-zA-Z0-9_]*)"
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}" 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}"
# Functions # Functions
color blue "([a-zA-Z0-9_-.$]*)\(" color blue "([a-zA-Z0-9_\-$\.]*)\("
# Variables # Variables
color magenta "[a-zA-Z_0-9]* <\-" color magenta "[a-zA-Z_0-9]* <\-"