Next: , Previous: Regular Expressions, Up: Regular Expressions

E.1 How to Use Regular Expressions

A regular expression can be used as a pattern if Gcal's --filter-text=pattern option is specified at program start-up.

See Fixed date option --filter-text=pattern, for more details.

Then the regular expression is tested against the entire, completely expanded text of each valid fixed date, and the fixed date is only displayed in case the pattern matches the text1.


[1] Normally, it only needs to match some part of the text in order to succeed.