SimpleStateMachine.StructuralSearch
1.0.0.2
dotnet add package SimpleStateMachine.StructuralSearch --version 1.0.0.2
NuGet\Install-Package SimpleStateMachine.StructuralSearch -Version 1.0.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SimpleStateMachine.StructuralSearch" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SimpleStateMachine.StructuralSearch --version 1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SimpleStateMachine.StructuralSearch, 1.0.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SimpleStateMachine.StructuralSearch as a Cake Addin #addin nuget:?package=SimpleStateMachine.StructuralSearch&version=1.0.0.2 // Install SimpleStateMachine.StructuralSearch as a Cake Tool #tool nuget:?package=SimpleStateMachine.StructuralSearch&version=1.0.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SimpleStateMachine.StructuralSearch
StructuralSearch - An easy-to-use library for structural search and replace in text in any programming language.
Give a Star! ⭐
If you like or are using this project please give it a star. Thanks!
Why SimpleStateMachine?
Forget about regular expressions and enjoy searching
- Describe search pattern:
// Just text and placeholders
var template = StructuralSearch.ParseFindTemplate("void $methodName$($params$)")
- Find it in any text:
// All the matches are already here
var results = template.ParseString("void MyMethodName(int value1, double value2)"
- Enjoy the search results
// The found text part
parseResult.Match.Value // void MyMethodName(int value1, double value2)
// The exact coordinates of the match
parseResult.Match.Column // Start 1, End 45
parseResult.Match.Line // Start 1, End 1
parseResult.Match.Offset // Start 0, End 44
// Placeholders
parseResult.Placeholders // { "methodName" : "MyMethodName" }, { "params": "int value1, double value2" }
// The exact coordinates of each placeceholdder
parseResult.Placeholders[0].Column // Start 6, End 18
parseResult.Placeholders[0].Line // Start 1, End 1
parseResult.Placeholders[0].Offset // Start 5, End 17
Getting Started📂
Install from Nuget:
Install-Package SimpleStateMachine.StructuralSearch
Documentation📄
Documentation here: wiki
FAQ❔
If you think you have found a bug, create a github issue.
But if you just have questions about how to use:
License📑
Copyright (c) SimpleStateMachine
Licensed under the MIT license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Pidgin (>= 3.3.0)
- YamlDotNet (>= 16.1.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.