RegexFieldValueExtractor
from
Norconex Commons Lang@Deprecated public final class RegexUtil extends Object
Modifier and Type | Method and Description |
---|---|
static Pattern |
compileDotAll(String regex)
Deprecated.
Compiles a case insensitive "dotall" pattern
(dots match all, including new lines).
|
static Pattern |
compileDotAll(String regex,
boolean caseSensitive)
Deprecated.
Compiles a case insensitive "dotall" pattern
(dots match all, including new lines).
|
static Properties |
extractFields(CharSequence text,
RegexFieldExtractor... patterns)
Deprecated.
|
static void |
extractFields(Properties dest,
CharSequence text,
RegexFieldExtractor... extractors)
Deprecated.
|
public static Pattern compileDotAll(String regex)
regex
- regular expressionpublic static Pattern compileDotAll(String regex, boolean caseSensitive)
regex
- regular expressioncaseSensitive
- true
to match character case.public static void extractFields(Properties dest, CharSequence text, RegexFieldExtractor... extractors)
public static Properties extractFields(CharSequence text, RegexFieldExtractor... patterns)
Copyright © 2009–2023 Norconex Inc.. All rights reserved.