extract regular expression utils module