REGEXs came from compiler technology.  


PEGs come from compiler technology.