Article 4XA0A [$] Python first()

[$] Python first()

by
jake
from LWN.net on (#4XA0A)
Python prides itself on being a newbie-friendly language; its developershave gone out of their way to try to ensure that easy tasks arestraightforward to program. A recent discussion on the python-ideasmailing list looked at a use case that is common, but often implemented in aninefficient, incorrect fashion, with an eye toward making it easier to docorrectly. Finding the first match for a regular expression in a body oftext is where the conversation started, but it went in some otherinteresting directions as well.
External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments