Some refinement in regx