Perl regexp \A doesn't match start of file?

前端 未结 0 1863
别那么骄傲
别那么骄傲 2020-12-22 06:01

I am iterating through a file line by line, picking out lines that start with asterix: *. My simple regexp works for all lines except the very first line of the file.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题