Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Java Verbal Expressions. Parent comment
`REGEX.startOfLine().then("http")...`
Since the start object is immutable, there's no reason to create new ones. Here's an example of this pattern applied to HTTP (my project):
https://github.com/stickfigure/hattery
Avoiding repeated Pattern.compile() is a good point though.
There are no comments on this comment yet.
`REGEX.startOfLine().then("http")...`
Since the start object is immutable, there's no reason to create new ones. Here's an example of this pattern applied to HTTP (my project):
https://github.com/stickfigure/hattery
Avoiding repeated Pattern.compile() is a good point though.