Ask HN: Who is hiring? (March 2017)
Hey, a friendly reminder. I’m parsing the thread, all job offers added here are also available on the map on<p><a href="https://whoishiring.io" rel="nofollow">https://whoishiring.io</a><p>or just HN items<p><a href="https://whoishiring.io/search/36.0440/-90.8984/4?source=hn" rel="nofollow">https://whoishiring.io/search/36.0440/-90.8984/4?source=hn</a><p>If you post here, please use the below format to help me with parsing. If you won’t, no worries, I will do my best to get all the things right.<p><pre><code>  1) {company} | {job title} | {locations} | {attrs: REMOTE, INTERNS, VISA, company url}
  Google | Software Developer | SF | VISA https://google.com
  DuckDuckGo | Software Developer | Paoli PA | REMOTE, VISA</code></pre>
or<p><pre><code>  2) {company} | {job title} | {location}
  Google | Site Reliability Engineer | London, Zurich, Sydney
  Facebook | Web-developer | London, Zurich
</code></pre>
I’m using this regex to test the firstline.<p><pre><code>  \s*(?P<company>[^|]+?)\s*\|\s*(?P<title>[^|]+?)\s*\|\s*(?P<locations>[^|]+?)\s*(?:\|\s*(?P<attrs>.+))?$
</code></pre>
You can test it in Python or here <a href="https://regex101.com/r/relwQD/3" rel="nofollow">https://regex101.com/r/relwQD/3</a> (for the match look right).