Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#6803 closed defect (invalid)

"port search maintainer:darwinports" fails at gnome-bindings-c++

Reported by: dreness (Andre LaBranche) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.0
Keywords: Cc:
Port:

Description

Trying to search for all orphaned ports, the search failed when it hit gnome-bindings-c++ as follows:

Error: /opt/local/bin/port: search for portname gnome-bindings-c++ failed: couldn't compile regular expression pattern: quantifier operand invalid

possibly a quoting problem?

Change History (2)

comment:1 Changed 18 years ago by jberry@…

Resolution: invalid
Status: newclosed

search, per design, takes a regular expression as its argument. The combination you entered feeds an illegal regular expression to search.

You'd be better off to use: "port echo maintainer:darwinports". This will do the query only once (in response to the pseudo-portname 'maintainer:darwinports') and then simply print out (echo) the result. As you written it, the search is being done first, then each result fed back into search.

comment:2 Changed 18 years ago by dreness (Andre LaBranche)

right-o, thanks :)

Note: See TracTickets for help on using tickets.