All Projects → alenon → JWildcard

alenon / JWildcard

Licence: MIT license
A Java library with wildcard utils

Programming Languages

java
68154 projects - #9 most used programming language
groovy
2714 projects

Projects that are alternatives of or similar to JWildcard

regXwild
⏱ Superfast ^Advanced wildcards++? | Unique algorithms that was implemented on native unmanaged C++ but easily accessible in .NET via Conari (with caching of 0x29 opcodes +optimizations) etc.
Stars: ✭ 20 (+42.86%)
Mutual labels:  wildcard
node-match-path
Matches a URL against a path. Parameters, wildcards, RegExp.
Stars: ✭ 30 (+114.29%)
Mutual labels:  wildcard
sublime rainbow csv
🌈Rainbow CSV - Sublime Text Package: Highlight columns in CSV and TSV files and run queeries in SQL-like language
Stars: ✭ 97 (+592.86%)
Mutual labels:  sql-like
dots
Implements the wildcard file matching in Go used by golint, go test etc.
Stars: ✭ 26 (+85.71%)
Mutual labels:  wildcard
matched
Glob matching with support for multiple patterns and negation. Use `~` in cwd to find files in user home, or `@` for global npm modules.
Stars: ✭ 25 (+78.57%)
Mutual labels:  wildcard
Micromatch
Contributing Pull requests and stars are always welcome. For bugs and feature requests, please create an issue. Please read the contributing guide for advice on opening issues, pull requests, and coding standards.
Stars: ✭ 1,979 (+14035.71%)
Mutual labels:  wildcard
MicroDNSSrv
A micro DNS server for MicroPython to simply respond to A queries on multi-domains with or without wildcards (used on Pycom modules & ESP32)
Stars: ✭ 43 (+207.14%)
Mutual labels:  wildcard
letsencrypt-inwx
A small cli utility for automating the letsencrypt dns-01 challenge for domains hosted by inwx.
Stars: ✭ 43 (+207.14%)
Mutual labels:  wildcard
obj-filter
JavaScript Object Filter. Deep filtering key/content recursively. Support wildcard, nested, and filter function in template.
Stars: ✭ 13 (-7.14%)
Mutual labels:  wildcard
glob-object
Filter an object using glob patterns and dot notation.
Stars: ✭ 25 (+78.57%)
Mutual labels:  wildcard
globrex
Glob to regular expression with support for extended globs.
Stars: ✭ 52 (+271.43%)
Mutual labels:  wildcard
filter-anything
A simple (TypeScript) integration of "pick" and "omit" to filter props of an object
Stars: ✭ 19 (+35.71%)
Mutual labels:  wildcard
wildmatch
Simple string matching with questionmark- and star-wildcard operator
Stars: ✭ 37 (+164.29%)
Mutual labels:  wildcard
deep-state-observer
State library for high performance applications.
Stars: ✭ 25 (+78.57%)
Mutual labels:  wildcard
LetsEncrypt
C# layer for generation of wildcard Let's Encrypt SSL certificates
Stars: ✭ 67 (+378.57%)
Mutual labels:  wildcard
GitPageHijack
OK now. Let's hijack github user's custom domain.
Stars: ✭ 45 (+221.43%)
Mutual labels:  wildcard
Fselect
Find files with SQL-like queries
Stars: ✭ 3,103 (+22064.29%)
Mutual labels:  sql-like
SQLGitHub
💻 SQLGitHub — Managing GitHub organization made easier
Stars: ✭ 34 (+142.86%)
Mutual labels:  sql-like

JWildcard

A collection of wildcard utilities. This library helps to convert wildcards into regex string. Wildcards can be declared using custom made rules.

Examples:

This wildcard:

"mywil?card*"

will be converted to this regex string:

"\Qmywil\E.\Qcard\E.*"

In order to convert wildcard into regex string use the following example:

JWildcard.wildcardToRegex("mywil?card*");

Default wildcard rules are: "?" -> ".", "*" -> ".*", but you can change the default behaviour, by simply defining the new rules:

JWildcard.wildcardToRegex(wildcard, rules, strict);

In order to check matching directly you can use the following example:

JWildcard.matches("mywild*", "mywildcard");

In order to convert wildcard string into SQL like pattern:

JWildcard.wildcardToSqlPattern("?wild*Ca?rd*") // outputs this => _wild%Ca_rd%

Getting Started

Master Build

Direct Download

Library packages stored in both: Github and Artifactory (https://alenon.jfrog.io/) repositories

Using Gradle

build.gradle

repositories {
    jcenter()
}

dependencies {
    compile 'com.yevdo:jwildcard:1.4'
}

Using Maven

pom.xml

<distributionManagement>
    <repository>
        <id>central</id>
        <name>a0yytejrantuj-artifactory-primary-0-releases</name>
        <url>https://alenon.jfrog.io/artifactory/maven-releases</url>
    </repository>
</distributionManagement>

<dependency>
  <groupId>com.yevdo</groupId>
  <artifactId>jwildcard</artifactId>
  <version>1.5</version>
</dependency>

API

API documentation https://alenon.github.io/JWildcard/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].