this regexp can be defined only one time I believe instead of instantiating them everytime we check