spion / triplie-ng

Chatbot with Markov chains BFS and Hebbian learning
MIT License
57 stars 16 forks source link

--regex import does not work on Windows #24

Open AlbinoShadow opened 8 years ago

AlbinoShadow commented 8 years ago

With CygWin installed, the following command returns the error "The system cannot find the file specified.":

cat log2.txt | triplie config.yaml --feed --regex '(?.+)'

The --regex command is searching for a file for some reason. If you use a normal regex flag it works though. Any ideas?

daniilS commented 8 years ago

On Windows, try using double quotes instead

AlbinoShadow commented 8 years ago

Double quotes didn't fix it, I ended up just installing a Linux distro to use the command.

I got Windows to work with all standard regex, but it wouldn't take the text value. /shrug