Commit Graph
19 Commits
Author SHA1 Message Date
yongfu 24ed37352f fix regular expression with { } like in server_name,rewrite,location and if. 2019-03-01 09:33:55 +08:00
yongfu 2a210daad6 fix multi semicolon 2018-10-17 09:00:16 +08:00
yongfu 106d75e2d8 fix the multi_semicolon bug 2018-10-15 21:42:28 +08:00
yongfu 70a0198ecb add test for multi_semicolon and rewrite reg 2018-09-25 20:56:37 +08:00
RickieLandGitHub 93748ca7a8 fix multiline ; in one line case and rewrite regex curly bracket case.
fix multiline `;` in one line case  and rewrite regex curly bracket case.
2018-09-10 23:28:22 +08:00
RickieLandGitHub 21012dab46 Merge pull request #1 from RickieL/RickieL-patch-1
fixed rewrite regex Curly Bracket case.
2018-09-10 22:13:23 +08:00
RickieLandGitHub 0b72d86a8b fixed rewrite regex Curly Bracket case.
fix the case that "Curly Bracket" in the rewrite case below:

`rewrite "^/a/([\d]{2})_(\d+).html$" /a/0$1/$1$2.html last;`
2018-09-10 22:11:40 +08:00
Michał Słomkowski f5a26225bd Fix error which split line when it contained backslash. Fixes #5 2017-07-26 05:58:44 +02:00
Michał Słomkowski 4488f2ee63 Add support for variable marks ${ and }. Fixes #4 2017-07-20 22:20:48 +02:00
Michał Słomkowski 09f0b8a700 Add support for latin1 encoding of input files. #2 2017-02-17 13:50:44 +01:00
Michał Słomkowski fe5c77d2a5 Fill up readme. 2016-06-16 22:30:25 +02:00
Michał Słomkowski ec596dd7e8 Change strip_line to prevent collapsing spaces in comments. 2016-06-16 21:49:29 +02:00
Michał Słomkowski 82be152c34 Add feature to remove excessive newlines. 2016-06-16 02:37:44 +02:00
Michał Słomkowski 0c28d599c0 Fix error with brackets in comments. 2016-06-16 02:07:33 +02:00
Michał Słomkowski 73f01a74ec Add function description and some readme. 2016-06-16 01:53:26 +02:00
Michał Słomkowski d2b62206fd Add working implementation. 2016-06-16 01:34:59 +02:00
Michał Słomkowski 89635aafbf Merge branch 'master' of github.com:1connect/nginx-config-formatter 2016-06-09 02:29:04 +02:00
Michał Słomkowski b8841669eb Initial commit 2016-06-09 02:28:21 +02:00
Michał Słomkowski 5e42af488b Add project bootstrap. 2016-06-09 02:25:29 +02:00