Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break doctest #2

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
and regex search, CodeSearch performs search operations _after_ parsing. Thus the search
patterns `j"a + b"` and `j"a+b"` are equivalent, and both match the code `a +b`.

```jldoctest intro

Check failure on line 11 in docs/src/index.md

View workflow job for this annotation

GitHub Actions / Documentation

doctest failure in src/index.md:11-19 ```jldoctest intro julia> using CodeSearch julia> j"a + b" == j"a+b" true julia> findfirst(j"a+b", "sqrt(a +b)/(a+ b)") 6:8 ``` Subexpression: findfirst(j"a+b", "sqrt(a +b)/(a+ b)") Evaluated output: 6:9 Expected output: 6:8 diff = Warning: Diff output requires color. 6:86:9
julia> using CodeSearch

julia> j"a + b" == j"a+b"
true

julia> findfirst(j"a+b", "sqrt(a +b)/(a+ b)")
6:9
6:8
```

The other key feature in this package is wildcard matching. You can use the character `*` to
Expand Down
Loading