Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antonmedv authored Jul 16, 2018
1 parent 3ba19b2 commit d668051
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Expr [![Build Status](https://travis-ci.org/antonmedv/expr.svg?branch=master)](https://travis-ci.org/antonmedv/expr) [![Code Coverage](https://scrutinizer-ci.com/g/antonmedv/expr/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antonmedv/expr/?branch=master)
# Expr [![Build Status](https://travis-ci.org/antonmedv/expr.svg?branch=master)](https://travis-ci.org/antonmedv/expr) [![Go Report Card](https://goreportcard.com/badge/github.com/antonmedv/expr)](https://goreportcard.com/report/github.com/antonmedv/expr) [![Code Coverage](https://scrutinizer-ci.com/g/antonmedv/expr/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antonmedv/expr/?branch=master)

Expr is an engine that can evaluate expressions.

Expand Down Expand Up @@ -124,7 +124,7 @@ expression := `Request.User.UserAgent matches "Firefox" && "www" in Values(Reque
node, err := expr.Parse(expression, expr.Names("Request"), expr.Funcs("Values"))
```

Only `Request` and `Values` will bbe available inside expression, otherwise parse error.
Only `Request` and `Values` will be available inside expression, otherwise parse error.

### Printing
Compiled ast can be compiled back to string expression using _String()_:
Expand Down

0 comments on commit d668051

Please sign in to comment.