lookbehind
Java regex error - Look-behind group does not have an obvious maximum length
I get this error: java.util.regex.PatternSyntaxException: Look-behind group does not have an obvious maximum length near index 22[详细]
2023-04-08 00:12 分类:问答Regex: Difference betwen negative lookbehind and negation
From regular-expressions.info: \\b\\w+(?<!s)\\b. This is definitely not the same as \\b\\w+[^s]\\b. When applied to Jon\'s, the former will match Jon and the latter Jon\' (including the apostroph[详细]
2023-04-01 19:00 分类:问答Regex remove quotes around integers?
Let\'s say I have a string \"\\\"Bob\\\",\\\"1\\\",\\\"Mary\\\",\\\"2\\\"\". Is it possible to remove only the quotes around the numbers and not the letters? I\'ve tried look-ahead/behind but the non[详细]
2023-03-21 01:25 分类:问答Javascript do not match str surrounded with quotes
I\'m writing开发者_运维知识库 a regular expression in javascript that replaces whitespaces except when:[详细]
2023-03-19 01:13 分类:问答Regex to match quoted strings with negative lookbehind (.NET)
I am trying to create a .NET Regex that will match quoted strings in VB.NET source code, but excluding certain unwanted strings, such as strings in XML comments and region labels etc.[详细]
2023-03-08 11:21 分类:问答Mod Rewrite RegEx To Match Only If Previous Subset Matched
I am trying to make what I think is a simple regex for use with mod_rewrite. I\'ve tried various expressions, many of which I thought were promising, but all of whichultimately failed for one reason[详细]
2023-03-07 11:54 分类:问答Invalid regular expression error
I\'m trying to retrieve the category part this string \"property_id=516&category=featur开发者_如何学JAVAed-properties\", so the result should be \"featured-properties\", and I came up with a regu[详细]
2023-03-04 01:40 分类:问答Difficulties with constructing this JavaScript regex
I would like to construct a regular expression that matches any letter (including accented and Greek), number, hyphens and spaces with a total allowed characters length between 3 and 50.[详细]
2023-02-10 12:47 分类:问答Quantifier range not working in lookbehind
Okay so I\'m working on a project where I need a regex that can match a * followed by 1-4 spaces or tabs and then followed by a row of text. Right now I\'m using .* after the lookbehind for testing pu[详细]
2023-02-09 22:22 分类:问答RegEx: Matching Pattern within Pattern - I think I need to use Positive Lookbehinds?
I\'m trying to use RegEx to find a pattern within a pattern. Specifically what I want to do is capture a URL into a reference and search within that for everything that comes after the last = sign and[详细]
2023-02-07 15:36 分类:问答