[MacPorts] #63451: `port search --variant` doesn't find all matching ports
MacPorts
noreply at macports.org
Thu Sep 9 03:44:46 UTC 2021
#63451: `port search --variant` doesn't find all matching ports
---------------------------+--------------------
Reporter: ShadSterling | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.1
Resolution: | Keywords:
Port: |
---------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 ShadSterling]:
> That's not mentioned at all in the documentation, but using that the
results look right.
The documentation can always use improvement.
> I'm inclined to use the word-boundary match, e.g. `\yphp\d+\y`, is there
any other quirk that might make that fail?
I wasn't familiar with `\y` but using that instead of `(^|\s)` and
`($|\s)` does seem to give the same result and is certainly simpler. I
must remember to use `\y` in the future.
--
Ticket URL: <https://trac.macports.org/ticket/63451#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list