buzzdenver
Joined 11 years ago
Karma
604
Submissions
310
Member since
Oct 13
[email protected]
View on Hacker NewsJoined 11 years ago
The regex is dead simple: /Authorization: Basic (.*)\ngrant_type=refresh_token/ "." does not match newline, so I'm basically looking two lines that conform to a template.
Specific cases can be transformed with some grep/awk magic, but IMO the concept of pattern matching against a stream is interesting regardless.
How does doping make cycling a more interesting sport? I'm a mediocre fan, but Armstrong winning every year was boring. I would think that most fans like to see battles on climbs, attacks, etc... Doping makes you fastre, but whether it takes 45 or 42 minutes to do a certain climbs doesn't matter.