Umeå University's logo

umu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Formalising and implementing Boost POSIX regular expression matching
Department of Information Science and Centre for AI Research, University of Stellenbosch, Matieland, South Africa.
Division of Computer Science, University of Stellenbosch, Matieland, South Africa.ORCID iD: 0000-0002-0016-7623
Division of Computer Science, University of Stellenbosch, Matieland, South Africa.
2021 (English)In: Theoretical Computer Science, ISSN 0304-3975, E-ISSN 1879-2294, Vol. 857, p. 147-165Article in journal (Refereed) Published
Abstract [en]

Whereas Perl-compatible regular expression matchers typically exhibit some variation of leftmost-greedy semantics, those conforming to the posix standard are prescribed leftmost-longest semantics. However, the posix standard leaves some room for interpretation, and Fowler and Kuklewicz have done experimental work to confirm differences between various posix matchers. The Boost library has an interesting take on the posix standard, where it maximises the leftmost match not with respect to subexpressions of the regular expression pattern, but rather, with respect to capturing groups. In our work, we provide the first formalisation of Boost semantics, analyze the complexity of regular expression matching when using Boost semantics, and provide efficient algorithms for both online and multipass matching.

Place, publisher, year, edition, pages
Elsevier, 2021. Vol. 857, p. 147-165
Keywords [en]
Regular expression matching, Posix, Boost
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:umu:diva-192864DOI: 10.1016/j.tcs.2021.01.010ISI: 000613450400012Scopus ID: 2-s2.0-85099463759OAI: oai:DiVA.org:umu-192864DiVA, id: diva2:1641658
Available from: 2022-03-02 Created: 2022-03-02 Last updated: 2022-03-03Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Berglund, Martin

Search in DiVA

By author/editor
Berglund, MartinBester, Willem
In the same journal
Theoretical Computer Science
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar

doi
urn-nbn

Altmetric score

doi
urn-nbn
Total: 181 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf