Properly formet regex as 'prefix expression' when search for links