This is going to really ease parsing datasets with idiosyncratic conventions. See how the Ruby implementation works on the location headings in the ULAN that annoyingly concatenate unique id numbers with preferred terms:
Cite this post:
Lincoln, Matthew D. "VerbalExpressions." Matthew Lincoln, PhD (blog), 06 Aug 2013, https://matthewlincoln.net/2013/08/06/verbalexpressions.html.