Pike v8.0 release 1738

Method Regexp.PCRE.split_subject()


Method split_subject

array(string) split_subject(string subject, array(int) previous_result)

Description

Convenience function that splits a subject string on the result from _pcre->exec()

equal to map(previous_result/2, lambda(array v) { return subject[v[0]..v[1]-1]; })