Timing out synchronous functions with regex
CYBERSECURITY FEATURED ANALYSIS

Timing out synchronous functions with regex

SOURCE

Blog RSS Feed | Snyk

DATE

READ

1 min read

The Snyk Container team had this challenge: Given a tag, parse its parts to be able to compare it to other similar tags. It was a fun problem to solve, and we’d love to share how we got to our final solution …

The Snyk Container team had this challenge: Given a tag, parse its parts to be able to compare it to other similar tags. It was a fun problem to solve, and we’d love to share how we got to our final solution involving timing out synchronous functions with regex!