My prompt matches both path and numeric seaches:
29/10/18 07:40:54 ~ π p3
β―
I use this for auditing purposes, along with logging.
While it would be possible to introspect the $PROMPT/$PS1 and figure out what to ignore, I'd be happy with being able to specify a regex to ignore as well.
In fact, that may provide better flexibility for unforeseen use cases.