public class URLPatternProvider extends PatternProvider
Modifier and Type | Class and Description |
---|---|
static class |
URLPatternProvider.DFURLPatternProvider
Implementation of the URL regex from
http://daringfireball.net/2010/07/improved_regex_for_matching_urls
|
Constructor and Description |
---|
URLPatternProvider() |
URLPatternProvider(PunctuationPatternProvider punctuation,
EntityPatternProvider entity) |
Modifier and Type | Method and Description |
---|---|
Pattern |
pattern() |
String |
patternString() |
combine
public URLPatternProvider(PunctuationPatternProvider punctuation, EntityPatternProvider entity)
punctuation
- entity
- public URLPatternProvider()
public String patternString()
patternString
in class PatternProvider
PatternProvider.pattern()
to compile a regex patternpublic Pattern pattern()
pattern
in class PatternProvider