Fix regex calls