GrepReplica is a simple regular expression implementation in java