Update RegularExpressionParsers.java

Make class public.