Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by riobard

6 years ago

Note: Golang's stdlib regexp (https://golang.org/pkg/regexp/) is guaranteed to run in time linear to the size of input. Russ Cox has a detailed article https://swtch.com/~rsc/regexp/regexp1.html

2 comments

riobard

Reply

jefftk  6 years ago

Golang's regexp is derived from RE2, referenced in footnote four of the post.

  • f2f  6 years ago

    Russ Cox also wrote RE2: https://swtch.com/~rsc/regexp/

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities