VeriFIT / mata

A fast and simple automata library
MIT License
20 stars 13 forks source link

Reluctant replace NFT #381

Closed Adda0 closed 7 months ago

Adda0 commented 7 months ago

This PR implements the first part of implementation of reluctant replace operations for string solving. This PR includes implementation of functions to create reluctant NFAs and NFTs which perform the reluctant match of a regex, and reluctant replacement operations (for replace_re_all() and replace_re() operations), respectively. Furthermore, the PR implements creation of begin marker DFT which precedes the reluctant replace NFT in reluctant replace modelling.