modify the re pattern