in reply to Simple way to skip spaces and # comments
Treat "#" and the following characters as a single whitespace character.
/\G (?: \s | \# .* )++ /xgc
More efficient?
/\G (?: \s++ | \# .*+ )++ /xgc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Simple way to skip spaces and # comments
by leszekdubiel (Scribe) on Jul 31, 2020 at 14:36 UTC | |
by ikegami (Patriarch) on Jul 31, 2020 at 14:42 UTC |