Files
linux-nvgpu/scripts
Konsta Hölttä 0cd5502935 scripts: rfr: fix urls with digits
With just (\d+), the very first regex would find a number within a
longer string, which for the following example would be wrongly 3, not
2318270. Make it match just a number and nothing else. Interestingly,
plain number search would work for most gerrit urls, but let's be
specific to avoid accidents.

example: https://git-master.nvidia.com/r/c/3rdparty/qnx/src/+/2318270

Also make the list more concise by joining almost identical pairs that
differ by just one character: use "?" to make the character optional.

Change-Id: Ia1b2ee4270c599ec7bcc2c4375c8a8f498043b27
Signed-off-by: Konsta Hölttä <kholtta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2318496
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
2020-12-15 14:13:28 -06:00
..
2016-04-19 09:23:35 -07:00
2020-12-15 14:13:28 -06:00
2016-04-19 09:23:35 -07:00