Skip to content

Commit

Permalink
Merge pull request #1 from prologrules/pyswip-issue-71
Browse files Browse the repository at this point in the history
Update core.py
  • Loading branch information
prologrules authored Nov 6, 2019
2 parents bd44ff7 + 1f10508 commit e3c009b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyswip/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ def get_swi_ver():
import re
swi_ver = input(
'Please enter you SWI-Prolog version in format "X.Y.Z": ')
match = re.search(r'[0-9]\.[0-9]\.[0-9]')
match = re.search(r'[0-9]+\.[0-9]+\.[0-9]+', swi_ver)
if match is None:
raise InputError('Error, type normal version')

Expand Down

0 comments on commit e3c009b

Please sign in to comment.