[OE-core] [PATCH v2] (PRE)MIRRORS: add pattern for npm:// without slash
Olaf Mandel
o.mandel at menlosystems.com
Fri Aug 25 17:00:17 UTC 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello again,
Am 25.08.2017 um 18:14 schrieb Olaf Mandel:
> Am 25.08.2017 um 16:32 schrieb Leonardo Sandoval:
>> instead of adding a new npm regex, not sure if below one would
>> the same job
>
>> npm://.*(/.*)?
>
> No: the string is split into different parts before the RE is
> considered. [...]
>
- -Snipp-
> ['npm', '.*(', '/.*)?', '', '', OrderedDict()]
>
So npm://.*(/.*)? does not work. But npm://.*/?.* works and _is_ more
elegant than the two pattern lines from my last patches.
Thank you for the suggestion, I will send a new patch.
Best regards,
Olaf
- --
Olaf Mandel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJZoFehAAoJEFS9nbRiUh3/FzsH/06OUDbQPrf3yrH5OBMJe+wF
5Ky8SUworYqA9uGmzR+3nGqmlxlLlhZFMCsM4+a00nr7kSNLu0KF+BISG9fJT5Up
6PJKDZZBChWYHqhkO8CgB3caiQiJKTlFtKmVznNBzJuIPf+ffTiUb0OX7RgFoHHP
jSuEXqKxQTUJO1k1tGhD53F6+W0rzfk2NXqtI2xfURCwZFcTHvrIYHflwoGZzF3F
gc5J37x5oFSxb3Lfy711ZWDTCOljFzoecdpKbhIj2qPr8sO5WVOTE07/FzW4Mb3P
KUlOpbR3D5eSma8f+lacqNQVx0toWRo15yHOVWssLbcoV6V8rzUu6sF1T1Od7Tw=
=RJXU
-----END PGP SIGNATURE-----
More information about the Openembedded-core
mailing list