Skip to content

wp_rewrite_rules()で取得したリライトルールに、否定先読み(?!regex)の正規表現が含まれていた場合に発生するデリミタ…#39

Open
shiro96 wants to merge 1 commit intodigitalcube:mainfrom
shiro96:issues/35
Open

wp_rewrite_rules()で取得したリライトルールに、否定先読み(?!regex)の正規表現が含まれていた場合に発生するデリミタ…#39
shiro96 wants to merge 1 commit intodigitalcube:mainfrom
shiro96:issues/35

Conversation

@shiro96
Copy link
Contributor

@shiro96 shiro96 commented Oct 3, 2025

リライトルールの正規表現マッチはWordPress本体 wp-includes/rewrite.php で使われている # デリミタを使用する形にしてみました。

https://github.com/WordPress/WordPress/blob/master/wp-includes/rewrite.php#L608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant