On 10/23/21 19:02, ToddAndMargo via perl6-users wrote:
On 10/23/21 18:03, Bruce Gray wrote:
^ .*?


Hi Bruce,

I am not seeming the difference between

    ^ .*?   and
    .*?

`.*?` means to search to the first instance of the
string.  `^` means to start at the beginning.   I
do not see the difference.


I guess where the confusion is coming is is that when
does regex NOT start reading at the beginning of the
input data stream?  Why does it need the ^

Reply via email to