A parser for regular expressions in PHP?

后端 未结 6 1467
忘了有多久
忘了有多久 2021-02-04 01:28

I need to parse regular expressions into their components in PHP. I have no problem creating the regular expressions or executing them, but I want to display information about t

6条回答
  •  南方客
    南方客 (楼主)
    2021-02-04 02:02

    I would try to translate a ActionScript 1/2 regular expression library to PHP. Earlier versions of Flash didn't have native regex support, so there're a few libraries written in AS out there. Translating from one dynamic language into another should be much easier than trying to decipher C.

    Here's one link perhaps worth looking at: http://www.jurjans.lv/flash/RegExp.html

提交回复
热议问题