类的使用
org.apache.oro.text.perl.MalformedPerl5PatternException
程序包
说明
This package used to be the PerlTools library and adds Perl5
regular expression syntactic sugar built on top of the
org.apache.oro.text.regex Perl5 regular expression classes.-
org.apache.oro.text.perl中MalformedPerl5PatternException的使用
修饰符和类型方法说明booleanSearches for the first pattern match somewhere in a character array taking a pattern specified in Perl5 native format:booleanSearches for the first pattern match in a String taking a pattern specified in Perl5 native format:booleanPerl5Util.match(String pattern, PatternMatcherInput input) Searches for the next pattern match somewhere in a org.apache.oro.text.regex.PatternMatcherInput instance, taking a pattern specified in Perl5 native format:已过时。已过时。voidPerl5Util.split(Collection results, String input) Splits input in the default Perl manner, splitting on all whitespace.voidPerl5Util.split(Collection results, String pattern, String input) This method is identical to calling:voidPerl5Util.split(Collection results, String pattern, String input, int limit) Splits a String into strings that are appended to a List, but no more than a specified limit.intPerl5Util.substitute(StringBuffer result, String expression, String input) Substitutes a pattern in a given input with a replacement string.Perl5Util.substitute(String expression, String input) Substitutes a pattern in a given input with a replacement string.
Perl5Util.split(Collection results, String input)instead.