Title: Greedy Regex
Last modified: January 14, 2020

---

# Greedy Regex

 *  [devapplied](https://wordpress.org/support/users/mockc/)
 * (@mockc)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/greedy-regex/)
 * anadnet,
 * First of all, thank you for maintaining this plugin over the years. It has served
   a site I maintain very well.
 * I have run across a situation in which the regex that is used to add ‘target=”
   _blank”‘ will match additional elements. For example:
 * Page ID of 70 will match 70 __as well as__ 700 and 702.
 * I have patched things on my end, please let me know how to coordinate the patch
   over your way.
 * Thank you!
 * devapplied

The topic ‘Greedy Regex’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/quick-pagepost-redirect-plugin_8d7b6f.
   svg)
 * [Quick Page/Post Redirect Plugin](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-pagepost-redirect-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-pagepost-redirect-plugin/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [devapplied](https://wordpress.org/support/users/mockc/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/greedy-regex/)
 * Status: not resolved