Class RegExpSyntax
- java.lang.Object
-
- org.apache.commons.lang.enums.Enum
-
- de.uni_trier.wi2.procake.similarity.base.string.RegExpSyntax
-
- All Implemented Interfaces:
Serializable,Comparable
public class RegExpSyntax extends org.apache.commons.lang.enums.EnumDifferent syntax for regular expressions.A
SMStringRegexpuses regular expression (RE). RE can be specified in different syntax or different meanings. This enum defines the three dialects that can be used. A detailed description of them can be found inSMStringRegexp.- Author:
- rmaximi
- See Also:
SMStringRegexp, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static RegExpSyntaxEGREPThe egrep syntax style, see http://www.gnu.org/software/grep/grep.htmlstatic RegExpSyntaxPERL5The perl5 syntax style, see http://search.cpan.org /dist/perl/pod/perlre.podstatic RegExpSyntaxPOSIXThe possiy syntax style, see http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RegExpSyntaxfromString(String value)StringtoString()
-
-
-
Field Detail
-
EGREP
public static final RegExpSyntax EGREP
The egrep syntax style, see http://www.gnu.org/software/grep/grep.html
-
PERL5
public static final RegExpSyntax PERL5
The perl5 syntax style, see http://search.cpan.org /dist/perl/pod/perlre.pod
-
POSIX
public static final RegExpSyntax POSIX
The possiy syntax style, see http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap09.html
-
-
Method Detail
-
fromString
public static RegExpSyntax fromString(String value)
-
toString
public String toString()
- Overrides:
toStringin classorg.apache.commons.lang.enums.Enum
-
-