Is there a way to make Perl regex searches case-insensitive?

后端 未结 2 1224
时光说笑
时光说笑 2021-01-20 05:22

Example:

my $cities = qr/San Francisco|Los Angeles/;

The scalar $cities will match San Francisco and Los An

2条回答
提交回复
热议问题