KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > search_replace > SearchTest > testRegexpSimple


1 /*
2  * testRegexpSimple.java
3  *
4  * Created on January 24, 2005, 2:35 PM
5  */

6
7 package search_replace.SearchTest;
8
9 /**
10  *
11  * @author rs155161
12  */

13 public class testRegexpSimple {
14     
15     /** Creates a new instance of testRegexpSimple */
16     public testRegexpSimple() {
17         /** Search for: [aA][hH][oO][jJ][0-9]{1,3}
18          * aHoJ0 - ok
19          * ahoj1 - ok
20          * aHOJ2 - ok
21          * Ahoj123 - ok
22          * Ahojx - not ok
23          * Ahoj4 - ok
24          */

25     }
26     
27 }
28
Popular Tags