[OE-core] [PATCH v2] (PRE)MIRRORS: add pattern for npm:// without slash
Olaf Mandel
o.mandel at menlosystems.com
Fri Aug 25 16:14:33 UTC 2017
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hello Leonardo,
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. So the fetch step fails with this error:
Exception: sre_constants.error: missing ), unterminated subpattern at
position 2
Probably because the pattern was split to:
['npm', '.*(', '/.*)?', '', '', OrderedDict()]
Best regards,
Olaf
- --
Olaf Mandel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQEcBAEBCAAGBQJZoEzpAAoJEFS9nbRiUh3/KgEIAKjWmkwrlR3CXNk1zYgS9XKb
FQsE47IYogdtLMSgjgbjo+tUVj34a4NpPY4kNXdwadXNSOQZJPDcu2hzkvxAyAVd
9pX0YtxASx4A25/kgBKiTzOL62gGf3vYAnCg3hCC4nPnZE5d49Xg/oNvhQ2E34xv
vZMaohiPwK5B2QJpPDYtVXEC72ExoMzeoEy1x46hIplQQTh3CE481TKHbFj1he/a
UVwRalNhePQbpScDu49oYdrg8bIl+GfmuDwFE5zLAWBdkkgFaDlLdbwUoz+om3xa
GUHA9eL0lu8CWmrZe1Y4RZuGgj42yJd1CDd7NA3SkeHcB6gsAPzwyn6/UF2rivo=
=mQeF
-----END PGP SIGNATURE-----
More information about the Openembedded-core
mailing list