Home » U++ Library support » U++ Library : Other (not classified elsewhere) » Regexp is not working
Regexp is not working [message #37593] |
Mon, 22 October 2012 21:48 |
crydev
Messages: 151 Registered: October 2012 Location: Netherlands
|
Experienced Member |
|
|
My application has a parsing system for retrieving URL's from a string of HTML. I am trying to port this from a C# application which uses a regular expression in multiple places. Now I noticed that the RegExp in U++ is not the same as a regular one like in C# or equal. I have a few regexes from which I know that they don't work in U++ or might not work. Could you help me out with finding a solution to them?
This regex is working.
I found out that this regular expression is not working at all. The purpose of this Regex is retrieving multiple URL's from <a href...> blocks in HTML text. The input string for this regex is a block of HTML text in which 0 or more <a href...> blocks are located.
I also doubt the functionality of this regex. I didn't test it yet, since I have to match the regex above to have the correct data available. This regex should retrieve the exact URL in the href="..." part of the output of the above regex. Is this a correct regular expression for the U++ RegExp class?
Thanks in advance!
[Updated on: Mon, 22 October 2012 21:49] Report message to a moderator
|
|
|
|
|
Goto Forum:
Current Time: Mon Jun 10 12:22:21 CEST 2024
Total time taken to generate the page: 0.01509 seconds
|