luketowers/oc-twigpcre-plugin

Extends Twig to support Pearl-Compatible-Regular-Expressions (Regex) through Twig filters and functions

Installs: 2 591

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 0

Type:october-plugin

pkg:composer/luketowers/oc-twigpcre-plugin

1.0.3 2017-10-10 05:47 UTC

This package is auto-updated.

Last update: 2025-09-15 09:44:51 UTC


README

Twig PCRE Filters for OctoberCMS.

This enables support for using Pearl-compatible-regular-expression PHP (regex) functions within your Twig markup.

Supported PCRE functions:

Additional functions:

  • preg_find: Performs a regular expression match and returns the results.