Browse by Tags

.*? The reason to any slow regex!
24 February 07 05:10 PM | sirpadk | 76 Comments   
Hi guys, We all have been there, we have some text we need to allocate using a regex, and we cannot really define what can be between 2 sub matches, so we simply uses the easiest solution .*? . You will probebly wont notice the problem, until the day Read More...
Guys you are misusing the blog as forum! please stop!
02 February 07 08:19 PM | sirpadk | 66 Comments   
Hi there, In the past months there is a new trend in the regexadvice.com community site. Users are posting a blog post with simple trivial questions which should be posted at the discussions forums. As far as I understand, writing a blog about a specific Read More...
Protecting your regex from future changes in the source code
02 February 07 07:39 PM | sirpadk | 106 Comments   
Hi guys, Long time since I've written here, well let's just say it's been busy at work and home front! Today I had to fix a web crawler due a regex that failed to track a tax amount. The regex was not written by me, but it reminded me what Read More...
Filed under: , ,
How does the regex think?
04 December 06 09:30 PM | sirpadk | 15 Comments   
If you want to write good, efficient regular expressions, than you would like to know, and understand how the regex object is thinking. What happens when you execute a regex ? I'll try to put some light on that using conclusions I have made aft er Read More...
How to Extract Data from an Alternated Text Like the Internet?
16 November 06 10:01 PM | sirpadk | 8 Comments   
Many ppl believe that using regex to extract data from a web page is a suicide task. the text changes rapidly, you'll never be able to know what will change, and how, you are risking saving the wrong information is some of the arguments these ppl Read More...
The First Step Is The Hardest
16 November 06 09:41 PM | sirpadk | 8 Comments   
Hallo boys and girls I'm sirpadk , and I have decided to write a blog on regex , because I believe I have a lot of knowledge in this field due to my type of work. I am a part of the Data Collection Team in Infare Solutions, a danish company specializing Read More...