dimanche 5 juillet 2015

C# Illegal \ at end of pattern [duplicate]

This question already has an answer here:

I am writing a small program using Regex, but I am having this issue: illegal \ at end of pattern

This is my regex:

Regex["Func1"] = @",""test\"":\""[0-9]{15}\"",\""test2\"":{\";

I tried replacing "\" with "\" but the regex returned to matches. I also tried to search on google but I didn't find anything useful for me. Thanks in advance for any help :)

Aucun commentaire:

Enregistrer un commentaire