The contents of $3 will contain a final space if one is present, so {|o'clock|--} is consistent with the instructions.
In reply to Re^3: Problem with a text-parsing regex
by ibm1620
in thread Problem with a text-parsing regex
by ibm1620
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |