20,741
edits
Line 232: | Line 232: | ||
The idea is to provide a set of desired outputs (needles), available input data (haystack), and use existing (possibly outdated) regex/xpath expressions to seed a pool with potential solutions for retrieving the desired output. For now, this is just proof-of-concept, i.e. just an experiment. | The idea is to provide a set of desired outputs (needles), available input data (haystack), and use existing (possibly outdated) regex/xpath expressions to seed a pool with potential solutions for retrieving the desired output. For now, this is just proof-of-concept, i.e. just an experiment. | ||
For example, let's consider the typical format of a from header for any sourceforge posting: | |||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
var regexTests = [ | var regexTests = [ |