They're a freakin' nightmare. They just are.
But, based on the premise that Sisyphus was a quitter, I took another stab at it, this time writing a real (PEG-) parser instead of trying to futz with extended regular expressions.
The results, so far, aren't too bad.
The gem is called lc_callnumber, but more importantly, I...