Am I right in thinking that replacing the slashes with square brackets is optional?
Indeed. Purely personal preference.
In reply to Re^3: Space or end of string in regex
by BrowserUk
in thread Space or end of string in regex
by davies
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |