Regular expression in C ++

I want to write a C ++ library for regular expression. I know that there are many libraries available, but I want to study the theory behind regular expression and implement it myself.

Can anyone advise where to start.

+3
source share
6 answers

http://swtch.com/~rsc/regexp/regexp1.html has a good explanation of the two main approaches to regular expressions, their tradeoffs and acceleration methods (DFAs) that can be used in many cases where most implementations cannot use them.

+3
source

": , ", ( DFA NDFA). ,

+1

, , , ++ 0x , 28 N3225.

+1

Microsoft TR1, ++ 0x, <regex> .

TR1 2008 visual 2010.

, , .

, g++ <regex> tr1. , , .

0

Source: https://habr.com/ru/post/1794968/


All Articles