Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit f47c830

Browse files
committed
Remove part of regex causing false positives when checking versions
1 parent e097192 commit f47c830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/wpxf/wordpress/fingerprint.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ def extension_version_pattern(type)
218218
when :readme
219219
# Example line:
220220
# Stable tag: 2.6.6
221-
return /(?:stable tag|version):\s*(?!trunk)([0-9a-z.-]+)/i
221+
return /(?:stable tag):\s*(?!trunk)([0-9a-z.-]+)/i
222222
when :style
223223
# Example line:
224224
# Version: 1.5.2

0 commit comments

Comments
 (0)