P
Peng Yu
Hi,
I use r"\ba\b" to match "a". However, I can not use "\ba::\b" to match
"a::b".
I would like to match "a::" in "a::b", but not in "a:: b". That is,
the character after "::" should be a alphanumeric character. Could you
let me know how to do it and why "\b" would not work?
Thanks,
Peng
I use r"\ba\b" to match "a". However, I can not use "\ba::\b" to match
"a::b".
I would like to match "a::" in "a::b", but not in "a:: b". That is,
the character after "::" should be a alphanumeric character. Could you
let me know how to do it and why "\b" would not work?
Thanks,
Peng