I have a python string I'm trying to extract. I have an interesting question:
>>> s="SKU 9780136058281, (ASIN B00A2KNZ2S, (binding Merchant: 'paperback' / 'hardcover'))" >>> print(re.match('ASIN', s)) None >>> print(re.match('SKU', s)) <_sre.SRE_Match object; span=(0, 3), match='SKU'>
I am trying to run the number after ASIN. I still do not see the obvious problem. This corresponds to the beginning of the line, but not in the middle.
source share