Quote:
Originally Posted by theducks
IMHO only 1 parse rule at a time should be used. the last 2 broke that rule and therefore failed to find a valid ISBN. Space or Dash, not both in the same substring
|
Well, yes and no. Had the publisher decided to use spaces instead of dashes, your suggestion would still find the number 13 978 0471 73278 5 which wouldn't be valid without parsing all substrings of 13 digits length.