changed syntax to use the l3regex package