Ruby Regex vs Python Regex

前端 未结 5 453
一个人的身影
一个人的身影 2021-01-12 05:10

Are there any real differences between Ruby regex and Python regex?

I\'ve been unable to find any differences in the two, but may have missed something.

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-12 05:42

    If the question is only about regex's: neither. Use Perl.

    You should choose between those languages based on the other non-regex issues that you are trying to solve and the community support in that language that is nearby your field of endeavor.

    If you are truly only picking a language based on regex support -- choose Perl...

提交回复
热议问题