in reply to positive regex for inverted match

/^((?!bar).)*$/s