"^" matches the start of the *string*. Sounds like you want to match the start of the *line*. Use the /m modifier to make "^" match the start of the line. Your question had nothing to do with single quotes.
In reply to Re^2: Not matching a single quote (apostrophe!)
by ikegami
in thread Not matching a single quote (apostrophe!)
by puddleglum
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |