You are here

Problem with index_description regex

2 posts / 0 new
Last post
bert
Offline
bert's picture
Donator
Joined: 4 years
Last seen: 3 years
Problem with index_description regex

I am working to do a site ini. I found a strange issue with regex in WebGrabPlus although regexr.com states I've found a match fine. I am using a lazy match for your information.

index_description.scrub {regex(debug)||\"Short_descr\"\:\"(.*?)\"||}

The logs say that there is no match

[ Debug ] Debugging information SiteIni
[ Debug ] Element: INDEX_DESCRIPTION
[ Debug ] html source written to : /home/akmalharith1/iptv/wg++/.wg-test/./html.source.htm
[ Debug ] scrub strings:
[ Debug ] type & arguments : regex(debug)
[ Debug ] regex_expression : "Short_descr\"\:\"(.*?)\"
[ Debug ] !! No match found !!

Please see the screenshot below. Sorry if the image is too big for this forum. Am I missing anything? I am very close to completing this ini which I have been working on for weeks now.

Thanks guys in advance. :-)

bert
Offline
bert's picture
Donator
Joined: 4 years
Last seen: 3 years

I've resolved the problem because my initial index_showsplit.scrub is omitting the last quote that's why the regex does not match. :-)

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl