Package coneforest.psylla.core
Class PsyMatcher
- java.lang.Object
-
- coneforest.psylla.core.PsyMatcher
-
- All Implemented Interfaces:
PsyConvertableToName,PsyConvertableToString,PsyObject,PsyResetable
public class PsyMatcher extends Object implements PsyResetable
-
-
Field Summary
-
Fields inherited from interface coneforest.psylla.core.PsyResetable
OPERATORS
-
-
Constructor Summary
Constructors Constructor Description PsyMatcher(PsyTextual oTextual, PsyRegExp oRegExp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PsyStringpsyCaptureGroup(PsyObject oKey)PsyIntegerpsyCaptureGroupCount()PsyIntegerpsyCaptureGroupEnd(PsyObject oKey)PsyIntegerpsyCaptureGroupStart(PsyObject oKey)PsyBooleanpsyFind()PsyBooleanpsyMatches()PsyNamepsyReplaceAll(PsyTextual oReplacement)voidpsyReset()Reset this object.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface coneforest.psylla.core.PsyObject
convert, execute, invoke, psyClone, psyEq, psyHashCode, psyInstanceOf, psyNe, psySyntax, psyToName, psyToString, psyType, toSyntaxString, typeName
-
-
-
-
Constructor Detail
-
PsyMatcher
public PsyMatcher(PsyTextual oTextual, PsyRegExp oRegExp)
-
-
Method Detail
-
psyReset
public void psyReset()
Description copied from interface:PsyResetableReset this object.- Specified by:
psyResetin interfacePsyResetable
-
psyMatches
public PsyBoolean psyMatches()
-
psyFind
public PsyBoolean psyFind()
-
psyReplaceAll
public PsyName psyReplaceAll(PsyTextual oReplacement)
-
psyCaptureGroupCount
public PsyInteger psyCaptureGroupCount()
-
psyCaptureGroup
public PsyString psyCaptureGroup(PsyObject oKey) throws PsyException
- Throws:
PsyException
-
psyCaptureGroupStart
public PsyInteger psyCaptureGroupStart(PsyObject oKey) throws PsyException
- Throws:
PsyException
-
psyCaptureGroupEnd
public PsyInteger psyCaptureGroupEnd(PsyObject oKey) throws PsyException
- Throws:
PsyException
-
-