I was trying to parse a SQL script the other day with regular expressions to extract some values of some columns. The script looked something like this: NSERT INTO wp_posts (ID, post_author, post_date, post_content, post_title) VALUES (5, 1, ’2008-02-03 20:06:31′, ‘marco”s long text’, ‘hello world’); so I had a regular expression that would capture anything [...]
-
Recent Posts
- Useful and Common bitwise operations in C
- Interview Screening Question
- ASP.NET MVC Model Binding Form Inputs To Action Parameters
- Notes on MVC routes mapping
- Things I’d love to learn more about
- "Remember Me" Doesn’t work in ASP.NET
- Regex Inverse Matching
- On Defensive Programming
- Getting Around Dynamic Casting To Achieve Better Design And Performance
- Parsing SQL Statements With Regex
Archives
Blogroll
-
Blog Stats
- 5,701 hits