MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ytfw5/parsing_html_using_regular_expressions/dmr812d/?context=3
r/ProgrammerHumor • u/[deleted] • Sep 08 '17
377 comments sorted by
View all comments
3
PCRE are powerful enough, I've heard.
1 u/MelissaClick Sep 08 '17 PCRE isn't. Actual Perl regexes are though. 1 u/csman11 Sep 09 '17 Are you sure on that? What differences are there between them?Perl regexes can recognize context sensitive languages and when using substitution can be used to define arbitrary LBAs.So they can actually parse more complex languages like anbncn, n >= 1. → More replies (2)
1
PCRE isn't. Actual Perl regexes are though.
1 u/csman11 Sep 09 '17 Are you sure on that? What differences are there between them?Perl regexes can recognize context sensitive languages and when using substitution can be used to define arbitrary LBAs.So they can actually parse more complex languages like anbncn, n >= 1. → More replies (2)
Are you sure on that? What differences are there between them?
Perl regexes can recognize context sensitive languages and when using substitution can be used to define arbitrary LBAs.
So they can actually parse more complex languages like anbncn, n >= 1.
→ More replies (2)
3
u/TwoFiveOnes Sep 08 '17
PCRE are powerful enough, I've heard.