Regex Inventory

List of all Regex mentioned in the code..

ValueCountFile:Line
'`' . preg_quote($category_base, '`') . '`u'1
  • /inc/class-rewrite.php
'`[\r\n\t ]+`'1
  • /inc/class-wpseo-utils.php
'`[^%](%[a-f0-9]{2})`i'1
  • /inc/class-wpseo-utils.php
'` +`'1
  • /inc/class-wpseo-utils.php
'`[^a-z0-9-.:\[\]\\x80-\\xff]`'1
  • /inc/class-wpseo-utils.php
'`%[a-fA-F0-9]{2}`'1
  • /inc/class-wpseo-utils.php
'`<img [^>]+>`'1
  • /inc/class-wpseo-content-images.php
'`src=(["\'])(.*?)\1`'1
  • /inc/class-wpseo-content-images.php
'`^\d+$`'1
  • /inc/wpseo-functions.php
'/(.*)-\d+x\d+\.(jpg|png|gif)$/'1
  • /inc/class-wpseo-image-utils.php
'`^[A-Z0-9_-]+$`i'1
  • /inc/class-wpseo-replace-vars.php
'`%%([^%]+(%%single)?)%%?`iu'1
  • /inc/class-wpseo-replace-vars.php
'`' . $q_sep . '(?:\s*' . $q_sep . ')*`u'1
  • /inc/class-wpseo-replace-vars.php
'`^http(?:s)?://(?:www\.)?twitter\.com/(?P<handle>[A-Za-z0-9_]{1,25})/?$`'1
  • /inc/options/class-wpseo-option-social.php
'`content=([\'"])?([^\'"> ]+)(?:\1|[ />])`'1
  • /inc/options/class-wpseo-option.php
'/(^http[s]?:)/'1
  • /inc/sitemaps/class-sitemaps-renderer.php
'|wp-image-(?P<id>\d+)|'1
  • /inc/sitemaps/class-sitemap-image-parser.php
'/' . get_shortcode_regex(['gallery']) . '/s'1
  • /inc/sitemaps/class-sitemap-image-parser.php
'/YoastSEO_Vendor\\\(?!WordProof)([\w_]+)/'1
  • /config/php-scoper/wordproof.inc.php
'/\\s+/'1
  • /config/composer/actions.php
'/^[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*$/'1
  • /config/composer/actions.php
'/\/premium\/src\/.*\.php$/'1
  • /config/composer/unit-test-generator.php
'/Yoast\\\WP\\\SEO\\\(.*)\\\.*$/'1
  • /config/composer/unit-test-generator.php
'/\/src\/(.*)\/(.*)\.php$/'1
  • /config/composer/unit-test-generator.php
'/\/src\/(.*)\/.*\.php$/'1
  • /config/composer/unit-test-generator.php
'/^(?:[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+\\\\)++$/'1
  • /config/dependency-injection/custom-loader.php
'/\\.(?:php|hh)$/'1
  • /config/dependency-injection/custom-loader.php
'/\\.php$/'1
  • /config/dependency-injection/custom-loader.php
'/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+(?:\\\\[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+)*+$/'1
  • /config/dependency-injection/custom-loader.php
'/^\d+$/'1
  • /admin/class-admin-asset-manager.php
'/([A-Z])/'1
  • /admin/class-admin-asset-manager.php
"/#$aioseo_prefix-([\w-]+)/"1
  • /admin/import/plugins/class-import-aioseo-v4.php
'/\\W/'1
  • /lib/migrations/adapter.php
'/\\_{2,}/'1
  • /lib/migrations/adapter.php
'/^(\\w)*/i'1
  • /lib/migrations/adapter.php
'`([A-Za-z0-9_]{1,25})$`'1
  • /src/presenters/twitter/site-presenter.php
'/<img[^>]+>/'1
  • /src/integrations/blocks/structured-data-blocks.php
'/src="([^"]+)"/'1
  • /src/integrations/blocks/structured-data-blocks.php
'/style="[^"]*width:\s*(\d+)px[^"]*"/'1
  • /src/integrations/blocks/structured-data-blocks.php
'`User-agent: \*[\r\n]+Disallow: /wp-admin/[\r\n]+Allow: /wp-admin/admin-ajax\.php[\r\n]+`'1
  • /src/integrations/front-end/robots-txt-integration.php
'/(?\'before\'.*)<!-- This site is optimized with the Yoast SEO.*<!-- \/ Yoast SEO( Premium)? plugin. -->(?\'after\'.*)/is'1
  • /src/integrations/front-end/force-rewrite-title.php
'/<title.*?\/title>/i'1
  • /src/integrations/front-end/force-rewrite-title.php
'`href=(["\'])(?:.*(?:\?|&|&#038;)replytocom=(\d+)#respond)`'1
  • /src/integrations/front-end/comment-link-fixer.php
'/(\r|\n)/'1
  • /src/helpers/schema/html-helper.php
'/<br(\s*)?\/?>/i'1
  • /src/helpers/schema/html-helper.php
'/<\/(p|div|h\d)>/i'1
  • /src/helpers/schema/html-helper.php
'/(<li[^>]*>)/i'1
  • /src/helpers/schema/html-helper.php
'!\s+!'1
  • /src/helpers/schema/html-helper.php
'|^page/\d+$|'1
  • /src/presentations/indexable-search-result-page-presentation.php
'/#custom_field-([a-zA-Z0-9_-]+)/'1
  • /src/services/importing/aioseo/aioseo-replacevar-service.php
'/#tax_name-([a-zA-Z0-9_-]+)/'1
  • /src/services/importing/aioseo/aioseo-replacevar-service.php
'/^\/wp-sitemap-(posts|taxonomies)-(\w+)-(\d+)\.xml$/'1
  • /src/initializers/disable-core-sitemaps.php
'/^\/wp-sitemap-users-(\d+)\.xml$/'1
  • /src/initializers/disable-core-sitemaps.php
"#^$match#"1
  • /src/surfaces/meta-surface.php
'@<(pre|code)[^>]*?>.*?</\\1>@si'1
  • /src/generators/schema/article.php
'@><@'1
  • /src/generators/schema/article.php
'@[а-я]@ui'1
  • /src/generators/schema/article.php
'@&[a-z0-9]+;@i'1
  • /src/generators/schema/article.php
'/^[a-z]{2}$/'1
  • /src/routes/semrush-route.php
'/(.*)-\d+x\d+\.(jpeg|jpg|png|gif)$/'1
  • /src/helpers/image-helper.php
'`\[[^\]]+\]`s'1
  • /src/helpers/string-helper.php
'|^(https?:)?//|'1
  • /src/helpers/asset-helper.php
'/(?<=[a-z])([A-Z])/'1
  • /lib/model.php
'/\\\\/'1
  • /lib/model.php
'/__/'1
  • /lib/model.php
'`^[A-Za-z0-9_]{1,25}$`'2
  • /inc/options/class-wpseo-option-social.php (2)
'#%postname%/?$#'2
  • /admin/formatter/class-post-metabox-formatter.php (2)
'#%pagename%/?$#'2
  • /admin/formatter/class-post-metabox-formatter.php (2)
'/%%cf_([A-Za-z0-9_]+)%%/'2
  • /admin/metabox/class-metabox.php
  • /src/integrations/third-party/elementor.php
"/$regexp/iU"2
  • /src/builders/indexable-link-builder.php (2)