I have this regex that tries to find individual STEP-lines and divides it into three goups of reference number, class and properties:
#14=IFCEXTRUDEDAREASOLID(#28326,#17,#9,3657.6);
becomes
[['14'], ['IFCEXTRUDEDAREASOLID'], ['#28326,#17,#9,3657.6']]
Sometimes these lines have arbitrary line breaks, especially among the properties, so I put some \s in the regex. This however makes for an interesting bug. The pattern now matches TWO rows into every match.
How can I adjust the regex to only catch one row even if they have line breaks? And just for curiosity, why does it stop after the second line and not continuing until last line?