Skip to content

Instantly share code, notes, and snippets.

@ansmirnov
Created January 14, 2016 08:22
Show Gist options
  • Save ansmirnov/85d454e8f072f762f719 to your computer and use it in GitHub Desktop.
Save ansmirnov/85d454e8f072f762f719 to your computer and use it in GitHub Desktop.
import java.util.*;
import java.lang.*;
import java.io.*;
import org.mentaregex.*;
import java.util.Arrays;
class Main {
public static void main (String[] args) throws java.lang.Exception {
String[] matches = match("aa11bb22", "/(\\d+)/g" );
System.out.println(Arrays.toString(matches));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment