KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > search_replace > SearchAndReplaceTest > testRegExSearch


1 package search_replace.SearchAndReplaceTest;
2
3 /**
4  *
5  * @author mato
6  */

7 public class testRegExSearch
8 {
9     
10     /** Creates a new instance of testRegExSearch */
11     public testRegExSearch()
12     {
13         System.out.println("hello world");
14         System.out.println("hello world again"); //NOI18N
15
//teest
16
//teeeeeeeeest
17
//Teeeeest
18
//TEEEST
19
//teeet
20
System.out.println("test string");
21         /*
22            "this is multi line string
23             over two lines"
24          */

25 //bellow empty line with 8 spaces and bellow this empty line with no space
26

27
28 //end of ampty lines
29
// you can modify the file bellow this line to not break test functionality
30
// <add you test cases here>
31
}
32     
33 }
34
Popular Tags