Fixes the regular expression by accepting whitespaces at the beginning of the pattern which finds bug numbers.
JIRA: RHELCMP-3685 Resolves: rhbz#1912555
Signed-off-by: Ondrej Nosek onosek@redhat.com
The change here looks reasonable to me. Is there a test for the bug number extraction?
Will search for some (or make).
rebased onto 87e4a22aa965ad625ba063e81f03f3db87119e1a
Test updated.
Previous code (extraction) didn't work when there was missing '- ' prefix on every line of changelog text.
:thumbsup:
Pull-Request has been merged by onosek
Fixes the regular expression by accepting whitespaces at the beginning
of the pattern which finds bug numbers.
JIRA: RHELCMP-3685
Resolves: rhbz#1912555
Signed-off-by: Ondrej Nosek onosek@redhat.com