Skip to content
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.

Commit

Permalink
Starting a ScriptMaster folder per a post by Eden Morris on Google+
Browse files Browse the repository at this point in the history
  • Loading branch information
petrowsky committed Jul 15, 2011
1 parent 42e7b27 commit e3f5725
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ScriptMaster/RegEx.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Needs documentation about use
import java.util.regex.*;String regex = pattern;
Pattern pattern = Pattern.compile(regex, Pattern.CASE_INSENSITIVE | Pattern.MULTILINE | Pattern.DOTALL);
Matcher matcher = pattern.matcher(text);
List result = new LinkedList();
while (matcher.find()) { result.add( matcher.group(1) );}
return result;

0 comments on commit e3f5725

Please sign in to comment.