Java uses regular expressions.