Why does GREP expression need two back-slashes?
Hi, there.
Curious question:
I have the following code:
psYSbody.nestedGrepStyles.add({
appliedCharacterStyle: csYSimporedPsukimMekor,
grepExpression: "\\(.+?\\)"});
Why does this only work if I have double-backslashes before "()" and "[]"?
If I only have a single backslash it will totally ignore the backslash.
Anyone could explain this quirk?
