Recently I was developing a Logstash script. As I needed to parse data into different documetns, I used the ‘_grokparsefailure’ feature of Logstash. With this feature, we can skip applying other patterns if a pattern has been successfully applied to the input string. 74 more words
Tags » Parsing
Parsing is hard!
Rubberduck parsing is being refined again. The first few releases used a hand-made, regex-based parser. That was not only unmaintainable and crippled with bugs, it also had fairly limited capabilities – sure we could locate procedures, variables, parameters… but the task was daunting and, honestly, unachievable. 456 more words
What is Beautiful Soup?
Well, as per wikipedia, it is a python library use for parsing the HTML documents. It creates a parse tree for parsed tags that can be used for extracting the data from HTML pages. 211 more words
I figured this would be a recurring theme, so thought I’d write it down for posterity, not least so I didn’t lose it. The scenario is a common one — we have a mobile app for iOS written in… 530 more words