I'm having trouble understanding escape characters. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm having trouble understanding escape characters.

Do they have a purpose? if so, what is an example where they can be used?

18th Dec 2016, 4:30 PM
Tyler Ross
Tyler Ross - avatar
1 Answer
+ 4
In regular expression pattern matching some characters serve some purposes, if you want them to be considered only as characters you must escape them... (backslash "\" = escape sequence character)
18th Dec 2016, 4:32 PM
Valen.H. ~
Valen.H. ~ - avatar