online compiler and debugger for c/c++

code. compile. run. debug. share.
Source Code    Language
import java.io.*; import java.util.Scanner; import java.util.regex.*; class RegexSearch{ public void tester(String Regex_Pattern){ Scanner sc= new Scanner(System.in); String Test_String = sc.nextLine(); Pattern p = Pattern.compile(Regex_Pattern); Matcher m = p.matcher(Test_String); while(m.find()){ System.out.print(m.group()); } } } public class Main{ public static void main(String[]args){ RegexSearch obj = new RegexSearch(); obj.tester("\\S\\s\\S\\s\\S"); } }

Compiling Program...

Command line arguments:
Standard Input: Interactive Console Text

                

                

Program is not being debugged. Click "Debug" button to start program in debug mode.

#FunctionFile:Line
VariableValue
RegisterValue
ExpressionValue