Build, test, and debug regular expressions
This regex matches string literals enclosed in either double or single quotes, suitable for parsing or syntax highlighting. It handles escape sequences and restricts content to single lines. The pattern distinguishes between word boundaries for single quotes, making it useful for code analysis where string delimiters need precise identification.