Hello, I am planning on writing a LOT of regex's for archive functionality on comica. I plan on sharing them when I know they all work, but I had a question about the regex system.
I am making a huge assumption that the application just uses the .NET System.Text.RegularExpressions.Regex class. If this is the case, are there any options that are selected for it (multiline / singleline, etc)?
I am asking because the one I am currently working on is XKCD. I figure we could use a lookahead regex to capture only the /1234/ part of the <img /> tag. The current problem is that this is a pretty sparse URL and just knowing the index of the URL isn't enough (because the number of links before it vary from page to page). I attempted to use something similar to:
to get the Previous URL for example, and it doesn't appear that it picks up the URL, so I was wondering if anyone knew what I am missing.
Another feature request might be for developer logging to show the URL it picked up as a previous URL as well. (maybe regex.Match.Value or whatever you're using code wise?).
Thank you! (And thank you for making this awesome app!)
Comica (formerly Comical) is a configurable web-comic viewer and downloader. [link]
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests