Hey, is anyone using regular expressions from the java.util.regex package in their assignments? And are we required to use them for our searching techniques? Thanks!
SCJP 1.4<br />SCJD 1.4
Wim van Haaren
posted 13 years ago
We are not required to use regular expressions. I myself haven't used them for searching techniques. I did use them, however, to make sure a user could only enter digits in a JTextfield by providing it with a custom javax.swing.text.Document in which I used RE.