Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MINOR] fixed a logic to find issue number from title
### What is this PR for? Changed the regex to find a issue number from title. This doesn't change any code about Zeppelin, but this will effect helper script for committers ### What type of PR is it? [Bug Fix] ### Todos * [x] - Fixed the bug ### What is the Jira issue? N/A ### How should this be tested? ``` >>> import re >>> re.findall("ZEPPELIN-[0-9]{3,4}", "ZEPPELIN-123") ['ZEPPELIN-123'] >>> re.findall("ZEPPELIN-[0-9]{4,5}", "ZEPPELIN-123") [] >>> re.findall("ZEPPELIN-[0-9]{3,4,5}", "ZEPPELIN-123") [] >>> re.findall("ZEPPELIN-[0-9]{3}", "ZEPPELIN-123") ['ZEPPELIN-123'] >>> re.findall("ZEPPELIN-[0-9]{3,5}", "ZEPPELIN-123") ['ZEPPELIN-123'] >>> re.findall("ZEPPELIN-[0-9]{4,5}", "ZEPPELIN-123") [] >>> re.findall("ZEPPELIN-[0-9]{3,5}", "ZEPPELIN-123") ['ZEPPELIN-123'] ``` ### Screenshots (if appropriate) N/A ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: Jongyoul Lee <[email protected]> Closes apache#936 from jongyoul/minor-find-issue-number-from-title and squashes the following commits: 63f37af [Jongyoul Lee] [MINOR] fixed logic to find issue number from title c16117b [Jongyoul Lee] [MINOR] fixed logic to find issue number from title
- Loading branch information