This is the revision history for strings in <libera.chat:#regex>
factoid_id | subject | copula | predicate | author | namespace |
---|---|---|---|---|---|
12921 | strings | is | You can match common double-quoted strings with "[^\\"]*(?:\\.[^\\"]*)*" which handles "strings \"within\" strings". Replacing the double quotes with single quotes can allow 'this \'string\' to match' if desired. | onlinecop | <freenode.net:#regex> |
12920 | strings | is | "[^\\"]*(?:\\.[^\\"]*)*" | onlinecop | <freenode.net:#regex> |