pinchpi_lib_pcre (pinchpi v0.1.0)

Summary

Functions

dispatch_ctx(_, Rest, Ctx)

-spec dispatch_ctx(binary(), [term()], pinchpi_context:ctx()) ->
                      {ok, term(), pinchpi_context:ctx()} | error.

preg_match_all_with_matches(Pattern, Subject)

-spec preg_match_all_with_matches(binary(), binary()) ->
                                     {non_neg_integer() | false, pinchpi_array:php_array()}.

preg_match_with_matches(Pattern, Subject)

-spec preg_match_with_matches(binary(), binary()) -> {0 | 1 | false, pinchpi_array:php_array()}.

preg_replace_with_count(Pattern, Replacement, Subject)

-spec preg_replace_with_count(term(), term(), term()) -> {term(), non_neg_integer()}.