public class MessageRevFilter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
MessageRevFilter.PatternSearch |
private static class |
MessageRevFilter.SubStringSearch |
Modifier | Constructor and Description |
---|---|
private |
MessageRevFilter() |
Modifier and Type | Method and Description |
---|---|
static RevFilter |
create(java.lang.String pattern)
Create a message filter.
|
(package private) static RawCharSequence |
textFor(RevCommit cmit) |
public static RevFilter create(java.lang.String pattern)
An optimized substring search may be automatically selected if the pattern does not contain any regular expression meta-characters.
The search is performed using a case-insensitive comparison. The character encoding of the commit message itself is not respected. The filter matches on raw UTF-8 byte sequences.
pattern
- regular expression pattern to match.static RawCharSequence textFor(RevCommit cmit)