recursive-regex
How to fix a BBcode regular expression
I have a regular expression that grabs BBcode tags. It works great except for a minor glitch. Here is the current expression:[详细]
2023-03-27 11:12 分类:问答Remove all empty HTML tags?
I am imagining a function which I figure would use Regex, and it would be recursive for instances like <p><strong></strong></p> to remove all empty HTML tags within a string. T[详细]
2023-02-22 08:19 分类:问答Does Classic ASP have an object that I can use to browse and modify DOM elements on the server?
I am working in a classic asp application that requires functionality that will modify code that the user copy and pastes into a form. The user is considered a trusted user who is not familiar with ht[详细]
2023-02-17 07:03 分类:问答Matching Parentheses with Division Operator - Regex
Examples: input: (n!/(1+n)) output: frac{n!}{1+n} input: ((n+11)!/(n-k)^(-1)) output: frac{(n+11)!}{(n-k)^(-1)}[详细]
2023-02-05 17:07 分类:问答Can I use Perl regular expressions to match balanced text?
I would like to match text enclosed 开发者_开发知识库in brackets etc in Perl. How can I do that?[详细]
2023-01-30 09:45 分类:问答Ruby regex for matching simpliest Ruby's regexes
I want to match regexes (at least the basic ones, not all their possible kinds... for now...) in a text of Ruby script.[详细]
2023-01-25 07:57 分类:问答What reg expression patten to I need to match everything between {{ and }}
What reg expression patten to I need to match everything between {{ and }} I\'m trying to parse wikipedia, but im ending up with orphan }} after running the rexex code. Here\'s my PHP script.[详细]
2023-01-19 19:53 分类:问答Why will this recursive regex only match when a character repeats 2^n - 1 times?
After reading polygenelubricants\'s series of articles on advanced regular expressions techniques (particularly How does this Java regex detect palindromes?), I decided to attempt to create my own PCR[详细]
2023-01-16 10:05 分类:问答Converting PCRE recursive regex pattern to .NET balancing groups definition
PCRE has a feature called recursive pattern, which can be used to match nested subgroups. For example, consider the "grammar"[详细]
2023-01-09 08:19 分类:问答Java regex library with recursion support
I am looking for a Java regexp lib with support for recursion, like: \"<a+(?0)>\" JDK does not support it, ORO does neither.[详细]
2022-12-16 00:58 分类:问答