Skip navigation links
A B C D E F G H I L M N O P Q R S T U W 

A

alternatives(Sequence[]) - Static method in class de.unkrig.lfr.core.Sequences
Creates and returns Sequence that returns the first match of one alternatives plus this sequence's successor.

B

beginningOfInput() - Static method in class de.unkrig.lfr.core.Sequences
Implements "^" with !
beginningOfLine() - Static method in class de.unkrig.lfr.core.Sequences
Implements "^" with MULTILINE.
beginningOfUnixLine() - Static method in class de.unkrig.lfr.core.Sequences
Implements "^" with MULTILINE and UNIX_LINES.

C

capturingGroupEnd(int) - Static method in class de.unkrig.lfr.core.Sequences
Implements ")".
capturingGroupStart(int) - Static method in class de.unkrig.lfr.core.Sequences
Implements "(".
CharacterClass - Class in de.unkrig.lfr.core
A CompositeSequence that implements CharacterClass.matches(MatcherImpl, int) by applying CharacterClass.matches(int) onto itself.
CharacterClass() - Constructor for class de.unkrig.lfr.core.CharacterClass
 
compile(String) - Method in class de.unkrig.lfr.core.PatternFactory
 
compile(String, int) - Method in class de.unkrig.lfr.core.PatternFactory
 
concat(Sequence) - Method in class de.unkrig.lfr.core.Sequences.LiteralString
 

D

de.unkrig.lfr.core - package de.unkrig.lfr.core
A super-fast drop-in replacement for java.util.regex.

E

endOfInput() - Static method in class de.unkrig.lfr.core.Sequences
Implements "$" with !
endOfInputButFinalTerminator() - Static method in class de.unkrig.lfr.core.Sequences
Implements "\Z".
endOfInputButFinalUnixTerminator() - Static method in class de.unkrig.lfr.core.Sequences
Implements "\Z".
endOfLine() - Static method in class de.unkrig.lfr.core.Sequences
Implements "$" with MULTILINE.
endOfPreviousMatch() - Static method in class de.unkrig.lfr.core.Sequences
Implements "\G".
endOfUnixLine() - Static method in class de.unkrig.lfr.core.Sequences
Implements "$" with MULTILINE and UNIX_LINES.
evaluate(int) - Method in interface de.unkrig.lfr.core.IntPredicate
Returns true iff the subject "qualifies", otherwise false.

F

find(MatcherImpl, int) - Method in class de.unkrig.lfr.core.Sequences.LiteralString
 
flags() - Method in class de.unkrig.lfr.core.Pattern
 

G

get() - Method in class de.unkrig.lfr.core.Sequences.LiteralString
 
getSupportedFlags() - Method in class de.unkrig.lfr.core.PatternFactory
 
greedyQuantifierOfAnyChar(int, int, Sequences.LiteralString) - Static method in class de.unkrig.lfr.core.Sequences
Implements a greedy quantifier on an "any char" operand, followed by a literal String.
greedyQuantifierOfCharacterClass(CharacterClass, int, int) - Static method in class de.unkrig.lfr.core.Sequences
Optimized version of #greedyQuantifierSequence(Sequence, int, int) when the operand is a bare character predicate, e.g. a character class.

H

hitStart() - Method in interface de.unkrig.lfr.core.Matcher
Returns true iff the start of input was hit by the search engine in the last match operation performed by this matcher; this can only happen if the pattern starts with a boundary matcher or contains lookbehind constructs.

I

independentNonCapturingGroup(Sequence[]) - Static method in class de.unkrig.lfr.core.Sequences
Creates and returns a Sequence that matches the alternatives, and, after the first matching alternative, matches its successor.
INSTANCE - Static variable in class de.unkrig.lfr.core.PatternFactory
The singleton PatternFactory that implements the LFR regex engine.
IntPredicate - Interface in de.unkrig.lfr.core
An optimization of Predicate which saves the overhead of boxing and unboxing.

L

linebreak() - Static method in class de.unkrig.lfr.core.Sequences
A sequence that matches a linebreak; implements "\R".
literalHexadecimal(String) - Static method in class de.unkrig.lfr.core.PatternFactory
 
lowerBound() - Method in class de.unkrig.lfr.core.CharacterClass
CharacterClass.matches(int) is guaranteed to return false for all subjects smaller than CharacterClass.lowerBound().

M

Matcher - Interface in de.unkrig.lfr.core
A drop-in replacement for Matcher.
matcher(CharSequence) - Method in class de.unkrig.lfr.core.Pattern
 
matches(MatcherImpl, int) - Method in class de.unkrig.lfr.core.CharacterClass
 
matches(int) - Method in class de.unkrig.lfr.core.CharacterClass
 
matches(CharSequence, int) - Method in class de.unkrig.lfr.core.Pattern
 
matches(String, CharSequence) - Method in class de.unkrig.lfr.core.PatternFactory
 
matches(MatcherImpl, int) - Method in class de.unkrig.lfr.core.Sequences.LiteralString
 

N

negate(Sequence) - Static method in class de.unkrig.lfr.core.Sequences
Creates and returns a sequence that produces a zero-width match iff the op does not match, and otherwise (iff the op does match) does not match.

O

original() - Method in class de.unkrig.lfr.core.ReverseCharSequence
 

P

Pattern - Class in de.unkrig.lfr.core
A drop-in replacement for Pattern.
pattern() - Method in class de.unkrig.lfr.core.Pattern
 
PatternFactory - Class in de.unkrig.lfr.core
A drop-in replacement for Pattern.
positiveLookahead(Sequence) - Static method in class de.unkrig.lfr.core.Sequences
Implements {@code "(?
positiveLookbehind(Sequence) - Static method in class de.unkrig.lfr.core.Sequences
Implements {@code "(?
possessiveQuantifier(Sequence, int, int) - Static method in class de.unkrig.lfr.core.Sequences
Implements a "possessive" quantifier for an operand.

Q

quantifier(Sequence, int, int, int, boolean) - Static method in class de.unkrig.lfr.core.Sequences
Implements greedy and reluctant (but not possessive) quantifiers.
quote(String) - Method in class de.unkrig.lfr.core.Pattern
 

R

reluctantQuantifierOfAnyChar(int, int, Sequences.LiteralString) - Static method in class de.unkrig.lfr.core.Sequences
Implements a reluctant quantifier on an "any char" operand, followed by a literal String.
requireStart() - Method in interface de.unkrig.lfr.core.Matcher
Returns true iff the start of the transparent region was hit by the search engine in the last match operation performed by this matcher; this can only happen if the pattern starts with a boundary matcher or contains lookbehind constructs.
reverse(CharSequence) - Static method in class de.unkrig.lfr.core.ReverseCharSequence
 
reverse() - Method in class de.unkrig.lfr.core.Sequences.LiteralString
 
reverseByCopy(CharSequence) - Static method in class de.unkrig.lfr.core.ReverseCharSequence
Returns a string that is the "logical reverse" of the cs, i.e. surrogate pairs and CR-LF pairs are not reversed.
ReverseCharSequence - Class in de.unkrig.lfr.core
 
ReverseCharSequence() - Constructor for class de.unkrig.lfr.core.ReverseCharSequence
 
reverseInPlace(CharSequence) - Static method in class de.unkrig.lfr.core.ReverseCharSequence
Returns a CharSequence that is the "logical reverse" of the cs, i.e. surrogate pairs and CR-LF pairs are not reversed.

S

Sequences - Class in de.unkrig.lfr.core
Methods that create all kinds of Sequences.
Sequences.LiteralString - Class in de.unkrig.lfr.core
Representation of a sequence of literal, case-sensitive characters.
sequenceToString() - Method in class de.unkrig.lfr.core.Pattern
Returns the parsed Sequence in an internal syntax.
set(String) - Method in class de.unkrig.lfr.core.Sequences.LiteralString
Changes the literal string that this sequence represents.
sizeBound() - Method in class de.unkrig.lfr.core.CharacterClass
 
split(CharSequence) - Method in class de.unkrig.lfr.core.Pattern
 
split(CharSequence, int) - Method in class de.unkrig.lfr.core.Pattern
 

T

TERMINAL - Static variable in class de.unkrig.lfr.core.Sequences
Matches the empty string, and is the last element of any CompositeSequence chain.
toString() - Method in class de.unkrig.lfr.core.Pattern
 
toStringWithoutNext() - Method in class de.unkrig.lfr.core.Sequences.LiteralString
 

U

unicodeWordBoundary() - Static method in class de.unkrig.lfr.core.Sequences
Implements "\b", and, negated, "\B".
upperBound() - Method in class de.unkrig.lfr.core.CharacterClass
CharacterClass.matches(int) is guaranteed to return false for all subjects greater than or equal to CharacterClass.upperBound().

W

wordBoundary() - Static method in class de.unkrig.lfr.core.Sequences
Implements "\b", and, negated, "\B".
A B C D E F G H I L M N O P Q R S T U W 
Skip navigation links

Copyright © 2017 Arno Unkrig. All rights reserved.