3 ms·
Here's a little regex that matches most of these. If anyone wants to improve on it, go for it. Way too lazy to do this by hand. Inconsistent use of semi-colons
by arthurcolle 7y ago
Here's a little regex that matches most of these. If anyone wants to improve on it, go for it. Way too lazy to do this by hand. Inconsistent use of semi-colons & "and" mean it'll probably be hard to actually make it perfect, but oh well ¯\_(ツ)_/¯. Thanks for compiling the list though, this is good stuff.
([A-Za-z\s+]+{2})\(([0-9]+),\s+([A-Za-z0-9.\s+]+)\),
- adventured 7y agoI've adjusted the list, cleaned it up. Should simplify the regex. Each person segment is now separated by (ended by) a semicolon. Commas are now only used to separate age from company name within parentheses. Multiple companies by one person are separated by a vertical bar.
- arthurcolle 7y agoThanks! I noticed you silently fixed the "64 Workday" typo ;) Here's a repo that has some code to transform the list into a .csv file. Having some trouble matching on the multi-company founders, which I could just deal with using code and not a regular expression, but a perfect regex would be fun haha. https://github.com/arthurcolle/founders https://github.com/arthurcolle/founders