rwynn / monstache-site

documentation for the monstache project
https://rwynn.github.io/monstache-site/
MIT License
22 stars 31 forks source link

moved from " to ' for regexp options #1

Closed Hezion closed 6 years ago

Hezion commented 6 years ago

changed sample configuration to reflect 'invalid escape character' errors

Steps to repeat with version 3.3.0

config.toml namespace-regex = "^mydb\.(words|\$cmd)$"

start monstache $ ./monstache -f config.toml

receive error panic: Near line 1 (last key parsed 'namespace-regex'): invalid escape character '.'; only the following escape characters are allowed: \b, \t, \n, \f, \r, \", \\, \uXXXX, and \UXXXXXXXX

Hezion commented 6 years ago

just noticed a typo in the description. Updated

rwynn commented 6 years ago

@Hezion thanks for correcting this. Any feedback you have for monstache would be appreciated.