RegexLibrarypublic class JavaRegex extends java.lang.Object implements RegexLibrary
| Constructor | Description |
|---|---|
JavaRegex() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
regexMatch(java.lang.String regular_expression,
java.lang.String expression_ops,
java.lang.String value) |
Matches a regular expression against a string value.
|
IntegerVector |
regexSearch(Table table,
int column,
java.lang.String regular_expression,
java.lang.String expression_ops) |
Performs a regular expression search on the given column of the table.
|
public boolean regexMatch(java.lang.String regular_expression,
java.lang.String expression_ops,
java.lang.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, java.lang.String regular_expression, java.lang.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 © 2018. All rights reserved.