diff options
Diffstat (limited to 'crates/shirabe-php-shim/src/lib.rs')
| -rw-r--r-- | crates/shirabe-php-shim/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/shirabe-php-shim/src/lib.rs b/crates/shirabe-php-shim/src/lib.rs index f14a4c94..1d9f27e4 100644 --- a/crates/shirabe-php-shim/src/lib.rs +++ b/crates/shirabe-php-shim/src/lib.rs @@ -54,6 +54,11 @@ pub use zip::*; use indexmap::IndexMap; +// Re-exported at the crate root so `php_regex!` can reach it via `$crate::regex!` regardless of +// which crate invokes the macro. +#[doc(hidden)] +pub use regex_macro::regex; + #[derive(Debug, Clone, Default)] pub enum PhpMixed { #[default] |
