The wglewGetExtension function does not correctly parse the last extension in the list, as there is no space following it.
Here's an example string that shows the error.
"WGL_EXT_extensions_string WGL_ARB_extensions_string WGL_EXT_pixel_format WGL_ARB_pixel_format WGL_EXT_swap_control"
The WGL_EXT_swap_control extension will not get correctly detected.
This might also happen for the non-WGL extensions, I didn't check.