Anchor regular expression searches in packagers