Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Java Equivalent to Lex

This code simply uses the in-built regex parser available in Java to parse the input String, which is read from the file a.txt [ Change it to experiment ] It is assumed that tokens are separated by spaces and newlines.