()
| 160 | } |
| 161 | |
| 162 | @Test |
| 163 | public void testSimplify() throws PatternSyntaxException { |
| 164 | Regexp re = Parser.parse(input, RE2.MATCH_NL | (RE2.PERL & ~RE2.ONE_LINE)); |
| 165 | String s = Simplify.simplify(re).toString(); |
| 166 | assertEquals(String.format("simplify(%s)", input), expected, s); |
| 167 | } |
| 168 | } |