|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.regexp.IRegexpAdapter
org.jruby.runtime.regexp.ORORegexpAdapter
Regexp adapter for Jakarta ORO.
Constructor Summary | |
ORORegexpAdapter()
|
Method Summary | |
void |
compile(Ruby ruby,
java.lang.String pattern)
Compile the regex. |
boolean |
getCasefold()
Get whether matches are case-insensitive or not |
IRubyObject |
search(Ruby ruby,
java.lang.String target,
int startPos)
Does the given argument match the pattern? |
void |
setCasefold(boolean set)
Set whether matches should be case-insensitive or not |
void |
setExtended(boolean set)
Set whether patterns can contain comments and extra whitespace |
void |
setMultiline(boolean set)
Set whether the dot metacharacter should match newlines |
Methods inherited from class org.jruby.runtime.regexp.IRegexpAdapter |
getAdapter, unextend |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ORORegexpAdapter()
Method Detail |
public void compile(Ruby ruby, java.lang.String pattern) throws RegexpError
compile
in class IRegexpAdapter
RegexpError
public void setCasefold(boolean set)
setCasefold
in class IRegexpAdapter
public boolean getCasefold()
getCasefold
in class IRegexpAdapter
public void setExtended(boolean set)
setExtended
in class IRegexpAdapter
public void setMultiline(boolean set)
setMultiline
in class IRegexpAdapter
public IRubyObject search(Ruby ruby, java.lang.String target, int startPos)
search
in class IRegexpAdapter
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |