\nusing System.Text.RegularExpressions;<\/p>\n
Regex regex = new Regex(
@”[[((?<Namespace>.+):)*(?<Term>.+?)(|(?Alias>.+))*]]”,
RegexOptions.Multiline | RegexOptions.ExplicitCapture
);<\/p>\n<\/blockquote>\n
Features I want to add? So far, the only one I am looking for is a way to escape the [[ pairs. But to be honest I think [[ would do it … I just want it “officially” in the regex.<\/p>\n","protected":false},"excerpt":{"rendered":"
rexeg = leet! Well, I finally got it nailed… I think. I have been working on a [[wp:wiki|Wiki]] for our own CMS and as part of the effort for client “R”. The core of this system is the ability to translate specially formatted tags into links as the data is pulled from the database. I […]<\/p>\n","protected":false},"author":3,"featured_media":53173,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"aside","meta":{"footnotes":""},"categories":[278],"tags":[],"_links":{"self":[{"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/posts\/1739"}],"collection":[{"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/comments?post=1739"}],"version-history":[{"count":0,"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/posts\/1739\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/media\/53173"}],"wp:attachment":[{"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/media?parent=1739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/categories?post=1739"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/legacyiamsenseiken.local\/wp-json\/wp\/v2\/tags?post=1739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}