Jeb
Jeb
it's kind of annoying and asking for private data. Please discontinue the requests of email and numbers or anything private.
> > create a file call it 'create_files.py' inside the main repo directory. then run python create_files.py > > it will create the files inside a directory called results. you...
It's probably going to be something like this pattern = re.compile(r'^(.?.py)\s+python\s+.*?(^(?:.*\n)*?)^\s', re.MULTILINE) #Example game.py But can't be sure until I see a chunk of your output
> > > > Heres my solution: > > > > ```python > > > > import re > > > > import os > > > > > >...
> I have improved the "parse_chat" function by treating "code discovery" and "filename discovery" as different tasks. The regex to search for code blocks (``` blocks) works great. The code...
> I have improved the "parse_chat" function by treating "code discovery" and "filename discovery" as different tasks. The regex to search for code blocks (``` blocks) works great. The code...
> ```python > import re > > def build_regex_from_file(filename: str = 'extensions.txt') -> str: > ''' > Builds a regex from a file containing a list of extensions. > >...
> Hi @goncalomoita > > that is a good idea. > > Would you feel comfortable creating a PR with your changes? > > If so I would suggest using...
Another format I have seen is \*\*game.py\*\* which this looks like it will work just fine for.
@goncalomoita definitely agree if we don't have to run another inference then all the better. And your solution captures all file type cases generically so no need to pull from...