new regexp functions