qr operation in perl 5.16

前端 未结 2 1704
长情又很酷
长情又很酷 2021-01-28 20:39

I am trying to fix a very old script, which is trying to find a string FILE_DESC_LIMIT in a text file and change it to something else.

For this my current s

2条回答
  •  臣服心动
    2021-01-28 21:12

    See Regular Expressions in Perl 5.14 Delta: the (?^ now signifies default modifiers. It's just a matter of how the compiled regular expressions are serialized, the more important is the difference between \b and ^ in your regular expressions.

提交回复
热议问题