2 Respostas
+ 2
pattern1 and pattern2 will only match strings ending with an 'e' since the $ is not escaped. pattern3 matches string1 since the escaped $ matches a literal '
#x27; pattern4 matches string2 because the escaped \ followed by an escaped $ matches the literal '\
#x27;
5th Jun 2018, 3:48 AM
1_coder
+ 1
that makes sense now. thanks.
6th Jun 2018, 5:57 AM
Sandeep Rana