Top all-time · #4217
Steven Levithan
Personal blog · blog.stevenlevithan.comprogrammingweb
Steven Levithan writes Flagrant Badassery, a personal blog at blog.stevenlevithan.com about programming and web. Since 2008, 18 different Hacker News readers have linked it 18 times, most often “What the JavaScript RegExp API Got Wrong, & How to Fix It”. It is still writing: the last post was on 2024-12-29, and you can follow it by feed.
A JavaScript and regular expression centric blog
Most-linked posts?
- What the JavaScript RegExp API Got Wrong, & How to Fix It2 people · 2 mentions · first linked 2010-03-01
- Javascript Trim Showdown2 people · 2 mentions · first linked 2008-02-04
What Hacker News says?
Of course it's not the only way, have you seen Google's homepage? Also, JScript is actually surprising good and is nothing like the DOM or CSS, AFAIK the only known bugs are Named Function Expressions being parsed as Function Declarations ( http://kangax.github.com/nfe/#jscript-bugs ), and a couple RegExp bugs ( http://blog.stevenlevithan.com/category/cross-browser ). I suppose if you count DOM bugs, like the memory…
Comment linking /category/cross-browser
on “Ie7-js ”Submitted Regex Legends: The People Behind the Magic as a story · 35 points
HN discussionKudos! Looks like the performance improvements are aided by the new native methods in the latest browsers. I wonder at what point they will stop supporting older browsers like IE6. Here is the article on different JavaScript trim methods: http://blog.stevenlevithan.com/archives/faster-trim-javascri...
Comment linking /archives/faster-trim-javascript
on “jQuery 1.4.3 Released”Submitted JS faster replacement for elem.innerHTML as a story · 4 points
HN discussionAs others have suggested, jQuery is overkill for this. The best lightweight js library I've found/used in the past is parseUri: http://blog.stevenlevithan.com/archives/parseuri Obviously, if you only need to analyze the current URL, you can use window/document.location, but there are times when you want to parse a URI for a page you aren't on. For instance, if you are analyzing har data, and want to break URI "compo…
Comment linking /archives/parseuri
on “$.url() - A simple, lightweight url parser for jQuery”Submitted Levels of JavaScript Regex Knowledge as a story · 4 points
HN discussionhttps://www.regular-expressions.info/ and https://blog.stevenlevithan.com/
Comment linking /
on “Ask HN: How did you learn Regex?”Submitted Creating BNF-style grammatical regular expressions in JavaScript as a story · 3 points
HN discussionSomeone who offers three solutions to mimic lookbehind's in Javascript: http://blog.stevenlevithan.com/archives/mimic-lookbehind-jav... Also, there seems to also be a lot of support for leveraging PHP's regex functionality on the server-side to accomplish this.
Comment linking /archives/mimic-lookbehind-javascript/comment-page-1
on “Ask HN: Better Regex Support for JavaScript?”Submitted Solving Linear Equation with Regexes as a story · 3 points
HN discussion( http://blog.stevenlevithan.com/archives/validate-phone-numbe... ) ( http://en.wikipedia.org/wiki/E.164 ) ( http://en.wikipedia.org/wiki/Telephone_number ) ( http://en.wikipedia.org/wiki/Telephone_numbering_plan )
Comment linking /archives/validate-phone-number
on “Ask HN: Is there a standard for representing phone numbers in text?”Submitted Javascript Trim Showdown as a story · 3 points
HN discussionSubmitted Regex Syntax Highlighter as a story · 2 points
HN discussionSubmitted 10 Reasons to Learn and Use Regular Expressions as a story · 2 points
HN discussionSubmitted Matching quoted strings with regexes as a story · 1 points
HN discussionSubmitted What the JavaScript RegExp API Got Wrong, & How to Fix It as a story · 1 points
HN discussionSubmitted Remove Nested Patterns with One Line of JavaScript as a story · 1 points
HN discussionSubmitted What the JavaScript RegExp API Got Wrong, & How to Fix It as a story · 1 points
HN discussion