Skip to content

Unrecognized escape sequence \I #1981

Answered by MrHinsh
AviramDahan asked this question in Q&A
Discussion options

You must be logged in to vote

The Iteration Maps and Area Maps documentation covers this:

Warning: Special characters in the acceptation of regular expressions and json both need to be escaped. For a key, this means, for example, that a literal backslash must be escaped for the regular expression language \\ and each of these backslashes must then be escaped for the json encoding: \\\\. In the replacement string, a literal $ must be escaped with an additional $ if it is followed by a number (due to the special meaning in regular expression replacement strings), while a backslash must be escaped (\\) due to the special meaning in json.

So your notation needs to be:

"AreaMaps": {
	     "Test1\\\\Internet\\\\Machine Le…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MrHinsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants