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.Enum
Different syntax for regular expressions.A
SMStringRegexp
uses 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 RegExpSyntax
EGREP
The egrep syntax style, see http://www.gnu.org/software/grep/grep.htmlstatic RegExpSyntax
PERL5
The perl5 syntax style, see http://search.cpan.org /dist/perl/pod/perlre.podstatic RegExpSyntax
POSIX
The 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 RegExpSyntax
fromString(String value)
String
toString()
-
-
-
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:
toString
in classorg.apache.commons.lang.enums.Enum
-
-