Regular Expressions in C

后端 未结 7 921
梦如初夏
梦如初夏 2021-01-01 02:42

I\'m curious, does anybody know a good way to do regular expression matching in C? The only way I can think of is through Flex. Is this the only way or is there a better w

7条回答
  •  不思量自难忘°
    2021-01-01 03:35

    Perhaps this article will help? It shows you how to use the regex functions defined in regex.h.

    Yes, isn't the posix regex just wonderful they have it all, so I wondered why are they not in C? Well, I found the answer and I got happy, they are there, and heres how to use them

提交回复
热议问题