Skip to content

Commit

Permalink
released 2.3.1 - context matching enhancements and -G fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-van-Engelen committed Jun 22, 2020
1 parent daa5bed commit b754d30
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4080,7 +4080,7 @@ in markdown:



ugrep 2.3.0 June 21, 2020 UGREP(1)
ugrep 2.3.1 June 21, 2020 UGREP(1)

🔝 [Back to table of contents](#toc)

Expand Down
Binary file modified bin/win32/ugrep.exe
Binary file not shown.
Binary file modified bin/win64/ugrep.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/convert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1921,7 +1921,7 @@ std::string convert(const char *pattern, const char *signature, convert_flag_typ
throw regex_error(regex_error::invalid_syntax, pattern, pos);
if (beg)
throw regex_error(regex_error::empty_expression, pattern, pos);
if (pos + 1 < len && (pattern[pos + 1] == '?' || pattern[pos + 1] == '+') && !supports_escape(signature, pattern[pos + 1]))
if (pos + 1 < len && !(flags & convert_flag::basic) && (pattern[pos + 1] == '?' || pattern[pos + 1] == '+') && !supports_escape(signature, pattern[pos + 1]))
throw regex_error(regex_error::invalid_quantifier, pattern, pos + 1);
break;
case '\t':
Expand Down
2 changes: 1 addition & 1 deletion man/ugrep.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH UGREP "1" "June 21, 2020" "ugrep 2.3.0" "User Commands"
.TH UGREP "1" "June 21, 2020" "ugrep 2.3.1" "User Commands"
.SH NAME
\fBugrep\fR -- file pattern searcher
.SH SYNOPSIS
Expand Down
2 changes: 1 addition & 1 deletion src/ugrep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ After this, you may want to test ugrep and install it (optional):
*/

// ugrep version
#define UGREP_VERSION "2.3.0"
#define UGREP_VERSION "2.3.1"

#include "ugrep.hpp"
#include "glob.hpp"
Expand Down

0 comments on commit b754d30

Please sign in to comment.