Title: URL Regex Issue
Last modified: August 31, 2016

---

# URL Regex Issue

 *  Resolved [jaredhardy](https://wordpress.org/support/users/jaredhardy/)
 * (@jaredhardy)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/url-regex-issue/)
 * The regex for matching meta tags seems to be broken and does not match attributes
   with single quotes, so for example:
 * `<meta content='This has single quotes' name='title' />`
 * Will not work, but
 * `<meta content="This has double quotes" name="title" />`
 * will parse fine.
 * [https://wordpress.org/plugins/z-url-preview/](https://wordpress.org/plugins/z-url-preview/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [StuartMillington](https://wordpress.org/support/users/stuartmillington/)
 * (@stuartmillington)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/url-regex-issue/#post-6971419)
 * I’ve just uploaded v1.5.0 which rewrites the parser to (optionally) use PHP’s
   HTML Dom rather than regex’s.
 * You need to enable this in the options as the regex’s are still the default for
   now. But this should fix this.

Viewing 1 replies (of 1 total)

 The topic ‘URL Regex Issue’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/z-url-preview.svg)
 * [Z-URL Preview](https://wordpress.org/plugins/z-url-preview/)
 * [Support Threads](https://wordpress.org/support/plugin/z-url-preview/)
 * [Active Topics](https://wordpress.org/support/plugin/z-url-preview/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/z-url-preview/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/z-url-preview/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [StuartMillington](https://wordpress.org/support/users/stuartmillington/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/url-regex-issue/#post-6971419)
 * Status: resolved