FlightGear wiki talk:Instant-Refs

From FlightGear wiki
Revision as of 16:12, 31 May 2014 by Hooray (talk | contribs) (→‎regex / sourceforge: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

regex / sourceforge

You're right - I just checked out the sourceforge archives, there's just a single tag that contains author/date, so regex seems like the right solution here - xpath alone won't get us very far. However, we can also just split the string using From:, < and - as delimiters to get substrings for author/date. But supporting regex seems like a good idea and should be straightforward to generalize as part of the CONFIG hash, maybe in addition to XPath expressions.--Hooray (talk) 16:12, 31 May 2014 (UTC)