We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 243b723 commit eb86332Copy full SHA for eb86332
src/php/net-gopher/gopher_parsedir.js
@@ -22,7 +22,7 @@ module.exports = function gopher_parsedir (dirent) { // eslint-disable-line came
22
* s = Audio file format, primarily a WAV file
23
*/
24
25
- const entryPattern = /^(.)(.*?)\t(.*?)\t(.*?)\t(.*?)\u000d\u000a$/
+ const entryPattern = /^(.)([^\t]*)\t([^\t]*)\t([^\t]*)\t([^\t]*)\r\n$/
26
const entry = dirent.match(entryPattern)
27
28
if (entry === null) {
0 commit comments