Which nicely "unrolls the loop" for double-quote-aware comment removal. Pretty slick, huh? Check the book out ASAP!s{(?:"(?:\\.|[^"\\])*")|(?:/\*[^*]*\*+(?:[^/*][^*]*\*+)*/)}{}g
In reply to Re: Kill C style comments
by jweed
in thread Kill C style comments
by sonic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |