2009-05-30, 16:42
I finally boned up enough on my C++ to be able to follow the flow of XBMC's ScraperParser, so now i've run into 3 curiosities
And
Correct me if i'm wrong, but it looks to me in the source code that clean cleans the buffers not the Regular Expression match strings.
that might be my whole problem as i'm cleaning the matches before applying them to the output and not the input before matching the regular expression.
And one last thing, does trim option remove ALL whitespace, Leading & Trailing whitespace, just leading whitespace, or just trailing whitespace.
Don't answer just yet, stillexaminingXBMC source, so i might figure out the answer myself
- A reference to a "clear" element(in the RegExp element - i know there's a clear attribute in the expression, but i've never seen a clear element used)
- A reference to a "optional" attribute(in the expression element)
- A reference to a "compare" attribute(in the expression element)
And
Correct me if i'm wrong, but it looks to me in the source code that clean cleans the buffers not the Regular Expression match strings.
that might be my whole problem as i'm cleaning the matches before applying them to the output and not the input before matching the regular expression.
And one last thing, does trim option remove ALL whitespace, Leading & Trailing whitespace, just leading whitespace, or just trailing whitespace.
Don't answer just yet, stillexaminingXBMC source, so i might figure out the answer myself