How do I write a simple regular expression pattern matching function in C or C++?

后端 未结 9 937
我寻月下人不归
我寻月下人不归 2021-02-01 06:58

This is a question in my paper test today, the function signature is

int is_match(char* pattern,char* string)

The pattern is limited to only A

9条回答
  •  再見小時候
    2021-02-01 07:52

    See This Question for a solution you can not submit. See this paper for a description of how to implement a more readable one.

提交回复
热议问题