Exilon 4 rokov pred
rodič
commit
bc5a5732fe
1 zmenil súbory, kde vykonal 18 pridanie a 4 odobranie
  1. 18 4
      README.md

+ 18 - 4
README.md

@@ -58,10 +58,14 @@ Small delphi/Firemonkey(Windows, Linux, Android, OSX & IOS) and fpc(Windows & Li
 * **Quick.Template:** String template replacing with dictionary or delegate.
 * **Quick.Debug.Utils:** Simple debugging and code benchmark utils.
 * **Quick.Parameters:** Work with commandline parameters like a class.
+* **Quick.Url.Utils:** Simple url manipulation
+* **Quick.RegEx.Utils:** Commonly used RegEx comparison (email verification, password complexity, etc)
 
 
 **Updates:**
 
+* NEW: Commonly used RegEx validations
+* NEW: Url manipulation utils
 * NEW: QuickParameters to work with commandline arguments like a class.
 * NEW: HttpServer custom and dynamic error pages.
 * NEW: Debug utils
@@ -1284,14 +1288,14 @@ type
   end;
 
 ```
-And pass to de commandline extension:
+Use param:
 ```delphi
-services.AddCommandline<TArguments>;
+params := TMyParameter.Create;
 ```
 When you call your exe with --help you get documentation. If you need to check for a switch or value, you can do like this:
 ```delphi
-if services.Commandline<TArguments>.Port = 0 then ...
-if services.Commandline<TArguments>.Silent then ...
+if params.Port = 0 then ...
+if params.Silent then ...
 ```
 QuickParameters uses custom attributes to define special parameter conditions:
 
@@ -1344,4 +1348,14 @@ Arguments:
   --Help, -h                 Show this documentation
 ```
 
+**Quick.Url.Utils:**
+--
+- **GetProtocol:** Get protocol from an url.
+- **GetHost:** Get hostname from an url.
+- **GetPath:** Get path from an url.
+- **GetQuery:** Get Query part from an url.
+- **RemoveProtocol:** Remove protocol from an url.
+- **RemoveQuery:** Remove query part from an url.
+- **EncodeUrl:** Encode path and query from and url.
+
 >Do you want to learn delphi or improve your skills? [learndelphi.org](https://learndelphi.org)