Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
Fix code comment
  • Loading branch information
SCdF committed Jul 5, 2016
1 parent ca15994 commit 6f8f6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Expand Up @@ -79,7 +79,7 @@ var Message = function (message) {

var flow = nools.flow("Hello World", function (flow) {

//find any message that start with hello
//find any message that is exactly hello world
flow.rule("Hello", [Message, "m", "m.text =~ /^hello\\sworld$/"], function (facts) {
facts.m.text = facts.m.text + " goodbye";
this.modify(facts.m);
Expand Down

0 comments on commit 6f8f6d8

Please sign in to comment.