In buffer I has text
"ADA-SGD"
"ADT-SGD"
"ADX-SGD"
"AID-SGD"
"AMP-SGD"
"ANT-SGD"
"ARDR-SGD"
"ARK-SGD"
M-x regexp-builder
Input regexp:
"\([A-Z]+\)-\([A-Z]+\)"
But I get message:
No match.
Why?
In buffer I has text
"ADA-SGD"
"ADT-SGD"
"ADX-SGD"
"AID-SGD"
"AMP-SGD"
"ANT-SGD"
"ARDR-SGD"
"ARK-SGD"
M-x regexp-builder
Input regexp:
"\([A-Z]+\)-\([A-Z]+\)"
But I get message:
No match.
Why?
Two (2) backslashes are sufficient to get the job done:
"\\([A-Z]+\\)-\\([A-Z]+\\)"