summaryrefslogtreecommitdiff
path: root/ext/dl/win32
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/win32')
-rw-r--r--ext/dl/win32/lib/win32/resolv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/win32/lib/win32/resolv.rb b/ext/dl/win32/lib/win32/resolv.rb
index a164fd54d23..8a654728775 100644
--- a/ext/dl/win32/lib/win32/resolv.rb
+++ b/ext/dl/win32/lib/win32/resolv.rb
@@ -73,7 +73,7 @@ if info.unpack('V5')[4] == 2 # VER_PLATFORM_WIN32_NT
unless nvdom.empty?
@search = [ nvdom ]
if reg.read_i('UseDomainNameDevolution') != 0
- if /^[\w\d]+\./ =~ nvdom
+ if /^\w+\./ =~ nvdom
devo = $'
end
end