Skip to content

Commit 01e0d93

Browse files
YasushiMiyatasenwu
authored andcommitted
Change the _RegexMatch initial value of sep="(space)" to sep="" in matcher.py.
1 parent 088ae1c commit 01e0d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fonduer/candidates/matchers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def init(self) -> None:
294294
raise Exception("Please supply a regular expression string r as rgx=r.")
295295
self.ignore_case = self.opts.get("ignore_case", True)
296296
self.attrib = self.opts.get("attrib", WORDS)
297-
self.sep = self.opts.get("sep", " ")
297+
self.sep = self.opts.get("sep", "")
298298

299299
# Extending the _RegexMatch to handle search(instead of only match)
300300
# and adding a toggle for full span match.

0 commit comments

Comments
 (0)