lookahead
Why aren't my nested lookarounds working correctly in my Perl substitution?
I have a Perl substitution which converts hyperlinks to lowercase: \'s/(?<=<a href=\")([^\"]+)(?=\")/\\L$1/g\'[详细]
2023-04-11 18:54 分类:问答Lucene Tokenizer with LookAhead
can anyone point me in the right direction for implementing a Lucene Tokenizer with LookAhead? I\'m using a snowball stemmer and I want to be able to get phrases of city names and prevent them from b[详细]
2023-04-07 22:53 分类:问答Regex to match only innermost delimited sequence
I have a string that contains sequences delimited by multiple characters: << and >>. I need a regular expression to only give me the innermost sequences. I have tried lookaheads but they d[详细]
2023-03-26 15:35 分类:问答How to implement LOOP in a FORTH-like language interpreter written in C
I\'m writing a simple stack-based language in C and was wondering how I should go about implementing a loop structure of some kind, and/or lookahead symbols. Since the code is a bit long for this page[详细]
2023-03-25 20:07 分类:问答Two very close regexes with lookahead assertions in Python - why does re.split() behave differently?
I was trying to anser this question where the OP has the following string: \"path:bte00250 Alanine, aspartate and glutamate metabolism path:bte00330 Arginine and proline metabolism\"[详细]
2023-03-21 02:52 分类:问答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 分类:问答Change Password Control RegEx validating oddly in IE 7 only
I\'m using the Asp.net change password control in my application and all seems to be find and dandy until a user tells me she has a problem meeting the strength requirements when changing her password[详细]
2023-03-17 03:20 分类:问答Problem with regex lookahead in javascript
I\'m trying to match only when all space-separated words are longer than 3 word characters (3 word characters are mandatory, abc* is right but ab* is not). This is my test:[详细]
2023-03-16 12:01 分类:问答Regular Expression capturing group with optional delimiter
Seemed like a simple problem, I need to extract a capturing group and optionally limit the group with a delimiting string.[详细]
2023-02-20 17:56 分类:问答How to match multiple words in regex
Just a simple reg开发者_如何学运维ex I don\'t know how to write. The regex has to make sure a string matches all 3 words. I see how to make it match any of the 3:[详细]
2023-02-19 06:48 分类:问答