We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a10a876 commit 16776d0Copy full SHA for 16776d0
payload/usr/local/sal/checkin_modules/apple_sus_checkin.py
@@ -156,8 +156,8 @@ def get_pending():
156
rexp = re.compile(
157
r'(?m)' # Turn on multiline matching
158
r'^\s+[*-] ' # Name lines start with 3 spaces and either a * or a -.
159
- r'(?P<name>[^ ].*)[\r\n]' # The rest of that line is the name.
160
- r'.*\((?P<version>[^\)]+)' # Capture the last parenthesized value on the next line.
+ r'(?P<name>.*)[\r\n]' # The rest of that line is the name.
+ r'.*\((?P<version>[^ \)]*)' # Capture the last parenthesized value on the next line.
161
r'[^\r\n\[]*(?P<recommended>\[recommended\])?\s?' # Capture [recommended] if there.
162
r'(?P<action>\[(?:restart|shut down)\])?' # Capture an action if present.
163
)
0 commit comments