Treat "#" and the following characters as a single whitespace character.
/\G (?: \s | \# .* )++ /xgc
More efficient?
/\G (?: \s++ | \# .*+ )++ /xgc
In reply to Re: Simple way to skip spaces and # comments
by ikegami
in thread Simple way to skip spaces and # comments
by leszekdubiel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |