Skip to content

Commit

Permalink
Merge pull request #554 from KaipaUday/master
Browse files Browse the repository at this point in the history
fix issue #552 regex
  • Loading branch information
bozhodimitrov authored Nov 22, 2024
2 parents a36b406 + 2228d68 commit ee59494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytesseract/pytesseract.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
LOGGER = logging.getLogger('pytesseract')

DEFAULT_ENCODING = 'utf-8'
LANG_PATTERN = re.compile('^[a-z_]+$')
LANG_PATTERN = re.compile('^[a-z0-9_]+$')
RGB_MODE = 'RGB'
SUPPORTED_FORMATS = {
'JPEG',
Expand Down

0 comments on commit ee59494

Please sign in to comment.