[MacPorts] #37048: weechat: python variants
MacPorts
noreply at macports.org
Mon Jun 29 10:00:53 PDT 2015
#37048: weechat: python variants
---------------------------+-------------------------
Reporter: ryandesign@… | Owner: starkhalo@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Resolution: | Keywords:
Port: weechat |
---------------------------+-------------------------
Comment (by larryv@…):
If you’re going to go with the regex, this…
{{{
set t ""
}}}
…is unnecessary. You just need this.
{{{
regexp {(^3)?} $s t
}}}
If `s` does not begin with “3”, then `t` will be empty.
--
Ticket URL: <https://trac.macports.org/ticket/37048#comment:11>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list