[db-wg] [opensource-wg] Question for RPSL Parser
- Previous message (by thread): [db-wg] [opensource-wg] Question for RPSL Parser
- Next message (by thread): [db-wg] Updating maintainer objects with filtered auth lines
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Hilliard
nick at inex.ie
Thu Aug 20 14:36:40 CEST 2015
On 20/08/2015 13:11, Stavros Konstantaras wrote: > What my prototype does now is extract the attributes and values by using > Regular Expressions rpsl is afaik a chomsky type 1 or 2 grammar and regular expressions are a chomsky type 3 grammar. Not wanting to rain on anyone's parade, you cannot parse a type 1 or type 2 chomsky grammar with a type 3 grammar. It's a bit like this, except worse: > http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags A partial solution is obviously possible, however it will only ever be an approximation. Nick
- Previous message (by thread): [db-wg] [opensource-wg] Question for RPSL Parser
- Next message (by thread): [db-wg] Updating maintainer objects with filtered auth lines
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[ db-wg Archives ]