We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 780cd06 commit eadc04dCopy full SHA for eadc04d
backend/base/file_extraction.py
@@ -23,7 +23,7 @@
23
24
volume_regex_snippet = r'\b(?:v(?:ol|olume)?)(?:\.\s|[\.\-\s])?(\d+(?:\s?\-\s?\d+)?|(?<!v)I{1,3})'
25
year_regex_snippet = r'(?:(\d{4})(?:-\d{2}){0,2}|(\d{4})[\s\.]?[\-\s](?:[\s\.]?\d{4})?|(?:\d{2}-){1,2}(\d{4})|(\d{4})[\s\.\-_]Edition|(\d{4})\-\d{4}\s{3}\d{4})'
26
-issue_regex_snippet = r'(?!\d+(?:th|rd|st|\s?(?:gb|mb|kb)))(?<!\')(?:\d+(?:\.\d{1,2}|\.?[a-z0-9]+|[\s\-\._]?[½¼])?|[½¼])'
+issue_regex_snippet = r'(?!\d+(?:th|rd|st|\s?(?:gb|mb|kb)))(?<!\')(?<!cv[\s\-_])(?:\d+(?:\.\d{1,2}|\.?[a-z0-9]+|[\s\-\._]?[½¼])?|[½¼])'
27
28
# Cleaning the filename
29
strip_filename_regex = compile(r'\(.*?\)|\[.*?\]|\{.*?\}', IGNORECASE)
0 commit comments