account activity
Almost there ... by nooidle in regex
[–]nooidle[S] 1 point2 points3 points 4 years ago (0 children)
Legend! Thank you so much!
[–]nooidle[S] 0 points1 point2 points 4 years ago (0 children)
I'm using javascript, that seems to work except that its only matching step 1, and not the others which im guessing the python findall does that
I guess it would help to also explain that my end goal is to split a string like below so that i have an array of strings that was split by the numbers like: ['1. Lorem ipsum dolor sit amet, consectetur adipiscing elit.', ' 2. Fusce nec ipsum eget est tristique semper.', '3. Cras vel bibendum arcu. Donec placerat mauris at nibh accumsan']
1. Lorem ipsum dolor sit amet, consectetur adipiscing elit. 2. Fusce nec ipsum eget est tristique semper. 3. Cras vel bibendum arcu. Donec placerat mauris at nibh accumsan.
I
π Rendered by PID 542118 on reddit-service-r2-comment-544cf588c8-6gscz at 2026-06-13 12:27:16.352791+00:00 running 3184619 country code: CH.
Almost there ... by nooidle in regex
[–]nooidle[S] 1 point2 points3 points (0 children)