9ae22e1886850d1ca530a2d743e41113fab0567d,estnltk/grammar/grammar.py,Regex,get_matches_without_cache,#Regex#Any#,46
Before Change
def get_matches_without_cache(self, text, **env):
matches = []
for mo in self.pattern.finditer(text.text):
matches.append(Match(mo.start(), mo.end(), self.name))
return matches
After Change
def get_matches_without_cache(self, text, **env):
matches = []
for mo in self.pattern.finditer(text.text):
start, end = mo.start(), mo.end()
matches.append(Match(start, end, text.text[start:end], self.name))
return matches
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: estnltk/estnltk
Commit Name: 9ae22e1886850d1ca530a2d743e41113fab0567d
Time: 2015-08-17
Author: tpetmanson@gmail.com
File Name: estnltk/grammar/grammar.py
Class Name: Regex
Method Name: get_matches_without_cache
Project Name: streamlit/streamlit
Commit Name: b81c402fbd645e24e2773bbfc99f522599c0e909
Time: 2019-12-06
Author: thiago@streamlit.io
File Name: lib/streamlit/__init__.py
Class Name:
Method Name: echo
Project Name: graphbrain/graphbrain
Commit Name: 30b3deb54d5420a55d138f176aee9fe857c02f4b
Time: 2020-08-19
Author: telmo@telmomenezes.net
File Name: graphbrain/agents/agent.py
Class Name: Agent
Method Name: run