| http://www.w3.org/ns/prov#value | - I think that if efficiency is a concern, then this simply is not the approach we should be using; but we can at least improve it by changing .* to [^\0]* to prevent useless greediness that will just have to be backtracked again, and wrapping the second [^\0]* in (?>???) to prevent backtracking that can not help.
|