fromupstream: Fix parsing of pw:// names with numbers

The fromupstream script was unable to figure out how to parse:
  fromupstream.py -b=... -t=... pw://linux-i2c/1108802

Because there was a number in the project name.  Let's just say that
the project can have any characters in it except a "/".

BUG=None
TEST=Run command from commit message

Change-Id: Ibe591dc01b7a685b6cd32d741025be98b911b0e4
Reviewed-on: https://chromium-review.googlesource.com/1639367
Commit-Ready: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Guenter Roeck <groeck@chromium.org>
diff --git a/contrib/fromupstream.py b/contrib/fromupstream.py
index 05d91df..8000918 100755
--- a/contrib/fromupstream.py
+++ b/contrib/fromupstream.py
@@ -196,7 +196,7 @@
         location = args['locations'].pop(0)
 
         patchwork_match = re.match(
-            r'pw://(([-A-z]+)/)?(\d+)', location
+            r'pw://(([^/]+)/)?(\d+)', location
         )
         linux_match = re.match(
             r'linux://([0-9a-f]+)', location