Skip to content

Commit 89c8951

Browse files
committed
Change behavior of the default extractor
- Default extractor return words (digits + letters)
1 parent 62cfc8a commit 89c8951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Extractors/DefaultExtractor.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class DefaultExtractor {
22
static extract(content) {
3-
return content.split(/[^a-z]/g)
3+
return content.split(/[^A-z0-9-]/g)
44
}
55
}
66

0 commit comments

Comments
 (0)