Commit Graph

47 Commits (1772a36eb6bdd99f2d7fa5602d48ae7dcbfda0fc)

Author SHA1 Message Date
Charles Iliya Krempeaux 1772a36eb6 github.com/reiver/go-pathmatch -> sourcecode.social/reiver/go-pathmatch 2023-10-01 13:49:20 +09:00
Charles Iliya Krempeaux 4e99dd5057 made it so .FindAndLoad() can load to a *[]string too. 2019-07-11 08:42:02 -07:00
Charles Iliya Krempeaux cd58524dc0 handled another error condition 2019-07-10 21:31:34 -07:00
Charles Iliya Krempeaux 5a1e556549 made is so things such as "/v1/users/" does not match "/v1/users/{user_id}" 2019-06-24 15:04:02 -07:00
Charles Iliya Krempeaux ebd12da522 docs 2019-06-24 14:33:23 -07:00
Charles Iliya Krempeaux ca42c95e52 corrected test 2019-06-24 14:20:49 -07:00
Charles Iliya Krempeaux ebbb49df89 there was a bug in pathmatch.Find(). it allowed extra stuff at ne, and basically only matched beginning of pattern. correct it. 2019-06-24 14:17:57 -07:00
Charles Iliya Krempeaux 9a424db462 pathmatch.Pattern.String() 2019-06-24 14:06:00 -07:00
Charles Iliya Krempeaux 64422ea7ec pathmatch.Pattern.String() 2019-06-24 14:05:08 -07:00
Charles Iliya Krempeaux 4b0308c64e package _test 2019-06-22 21:54:06 -07:00
Charles Iliya Krempeaux 7bad8c950e pathmatch.Pattern.Match() 2019-06-21 15:26:35 -07:00
Charles Iliya Krempeaux 5d60552f12 cosmetic 2019-06-21 14:26:16 -07:00
Charles Iliya Krempeaux f432067139 cosmetic 2019-06-21 14:25:54 -07:00
Charles Iliya Krempeaux 2220e2822d mutex 2019-06-21 13:37:53 -07:00
Charles Iliya Krempeaux afd2d359db docs 2019-06-21 13:17:44 -07:00
Charles Iliya Krempeaux 51da238ec5 refactoring pathmatch.Compile() 2019-06-21 13:16:25 -07:00
Charles Iliya Krempeaux 477100a9f7 refactoring pathmatch.Compile() 2019-06-21 13:05:56 -07:00
Charles Iliya Krempeaux e4db362f72 refactoring pathmatch.Compile() 2019-06-21 12:49:06 -07:00
Charles Iliya Krempeaux eb4a553ef2 refactored newPattern() 2019-06-20 23:40:37 -07:00
Charles Iliya Krempeaux fbedc7e73f refactored newPattern() 2019-06-20 23:37:46 -07:00
Charles Iliya Krempeaux 83fa66ddd9 got rid of Pattern interface, and changed internalPattern struct into public Pattern struct 2019-06-20 23:28:50 -07:00
Charles Iliya Krempeaux 9f12059c8b renamed patternmatch.Pattern.MatchAndLoad() to patternmatch.Pattern.FindAndLoad() 2019-06-20 21:57:03 -07:00
Charles Iliya Krempeaux 3ad6c17e07 renamed patternmatch.Pattern.Match() to patternmatch.Pattern.Find() 2019-06-20 21:51:49 -07:00
Charles Iliya Krempeaux aa21183e6a renamed patternmatch.Pattern.Match() to patternmatch.Pattern.Find() 2019-06-20 21:51:32 -07:00
Charles Iliya Krempeaux 3cd972d790 renamed patternmatch.Pattern.Match() to patternmatch.Pattern.Find() 2019-06-20 21:48:15 -07:00
Charles Iliya Krempeaux e247ffe8f4 new test 2019-06-20 21:46:52 -07:00
Charles Iliya Krempeaux 4582d91a44 renamed "PatternSyntaxErrorComplainer" to "PatternSyntaxError" 2019-06-20 21:40:30 -07:00
Charles Iliya Krempeaux 87c495d123 renamed "PatternSyntaxErrorComplainer" to "PatternSyntaxError" 2019-06-20 21:40:10 -07:00
Charles Iliya Krempeaux d669c009fe renamed "NotEnoughArgumentsComplainer" to "NotEnoughArgumentsComplainerNotEnoughArguments" 2019-06-20 21:38:36 -07:00
Charles Iliya Krempeaux bc6870c371 renamed "NotEnoughArgumentsComplainer" to "NotEnoughArgumentsComplainerNotEnoughArguments" 2019-06-20 21:38:18 -07:00
Charles Iliya Krempeaux c3af48030e renamed "InternalErrorComplainer" to "InternalError" 2019-06-20 21:35:52 -07:00
Charles Iliya Krempeaux 9a8163782c renamed "InternalErrorComplainer" to "InternalError" 2019-06-20 21:35:33 -07:00
Charles Iliya Krempeaux aefae25a79 renamed "BadRequestComplainer" to "BadRequest" 2019-06-20 21:32:04 -07:00
Charles Iliya Krempeaux 2a8456e3b8 renamed "BadRequestComplainer" to "BadRequest" 2019-06-20 21:31:53 -07:00
Charles Iliya Krempeaux 360ca75099 renamed "ScanErrorComplainer" to "ScanError" 2019-06-20 21:29:17 -07:00
Charles Iliya Krempeaux a88f1f8eeb renamed "ScanErrorComplainer" to "ScanError" 2019-06-20 21:28:51 -07:00
Charles Iliya Krempeaux 4b488c27a3 renamed "StructFieldWrongTypeComplainer" to "StructFieldWrongType" 2019-06-20 21:27:02 -07:00
Charles Iliya Krempeaux 2932ec74cc renamed "StructFieldWrongTypeComplainer" to "StructFieldWrongType" 2019-06-20 21:24:04 -07:00
Charles Iliya Krempeaux 3d9d73798d renamed "UnsupportedArgumentTypeComplainer" to "UnsupportedArgumentType" 2019-06-20 21:21:34 -07:00
Charles Iliya Krempeaux 1af788fb28 renamed "UnsupportedArgumentTypeComplainer" to "UnsupportedArgumentType" 2019-06-20 21:20:17 -07:00
Charles Iliya Krempeaux 59a54f4c9e example 2019-06-20 17:29:47 -07:00
Charles Iliya Krempeaux 363cdc1658 docs 2019-06-20 17:11:35 -07:00
Charles Iliya Krempeaux e1450407cd correction, for newer version of compiler 2019-06-20 17:10:46 -07:00
Charles Iliya Krempeaux 90139bd570
marked code portion of README.md as Go code. 2019-06-20 17:04:33 -07:00
Charles Iliya Krempeaux 341f7e1e73 corrected minor typo in docs. 2016-11-08 13:25:33 -08:00
Charles Iliya Krempeaux 6033373817 added pathmatch.Pattern.Glob() 2016-02-25 17:18:58 -08:00
Charles Iliya Krempeaux 05476fffbb initial commit. still need to create more tests. 2016-02-25 14:59:38 -08:00