It behaves correctly
itd a warning not use it ;)
In reply to Re: Empty pattern in regex by Anonymous Monk in thread Empty pattern in regex by choroba