I'm having trouble understanding escape characters. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответ
+ 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