|
|
|
|
|
by hashseed
3756 days ago
|
|
Implementing lookbehind by reading backwards is not more computationally expensive than reading forward. It adds some complexity to the regexp engine, yes, but that's manageable. There are some quirks vs. stepping back and reading forward, like the article already explains. I guess Perl initially just did not implement it this way, whatever the reason was. |
|