I'm trying to write a regex for:
- Strings of characters beginning and ending with a double quote character, that do not contain control characters, and for which the backslash is used to escape the next character.
- The paren-star form of comments in Pascal: strings beginning with
(*and ending with*)that do not contain*)
I'm trying to write a version in Ruby, then another in Java, but I'm having trouble finding the differences in regex expressions for both. Any help is appreciated!