search

# given qr((test))

$re->search('this is a test');
$re->search('this does not match', 'gi');

The search method performs a regular expression match against the given string This method will always return a Data::Object::Search object which can be used to introspect the result of the operation.

search(Str $arg1) : SearchObject

method

5 POD Errors

The following errors were encountered while parsing the POD:

Around line 10:

Unknown directive: =name

Around line 14:

Unknown directive: =usage

Around line 21:

Unknown directive: =description

Around line 27:

Unknown directive: =signature

Around line 31:

Unknown directive: =type