public class JavaRegex extends Object implements RegexLibrary
| Constructor and Description |
|---|
JavaRegex() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
regexMatch(String regular_expression,
String expression_ops,
String value)
Matches a regular expression against a string value.
|
IntegerVector |
regexSearch(Table table,
int column,
String regular_expression,
String expression_ops)
Performs a regular expression search on the given column of the table.
|
public boolean regexMatch(String regular_expression, String expression_ops, String value)
RegexLibraryregexMatch in interface RegexLibraryregular_expression - the expression to match (eg. "[0-9]+").expression_ops - expression operator string that specifies various
flags. For example, "im" is like '/[expression]/im' in Perl.value - the string to test.public IntegerVector regexSearch(Table table, int column, String regular_expression, String expression_ops)
RegexLibraryregexSearch in interface RegexLibrarytable - the table to search for matching values.column - the column of the table to search for matching values.regular_expression - the expression to match (eg. "[0-9]+").expression_ops - expression operator string that specifies various
flags. For example, "im" is like '/[expression]/im' in Perl.Copyright © 2016. All rights reserved.