Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
regex-query-js
Advanced tools
Regular expressions in english.
npm install regex-query-js
Use the file "dist/RegexQuery.min.js
" inside the npm package.
const { RegexQuery, RegexTokens } = require( 'regex-query' );
console.log( new RegexQuery().AnyOf$1( '#%&£§€' ).toString() );
console.log(
new RegexQuery().ADate()
.BeginFollowedBy()
.ASpace()
.ANewLine()
.EndGroup()
.toString()
);
console.log( RegexTokens.NotWord );
console.log( new RegexQuery().AnyOf$1( '#%&£§€' ).toString() );
console.log( RegexTokens.NotWord );
new RegexQuery()
// IRegexQueryActions
toString(): string | null;
Clear(): IRegexQuery | null;
BeginningOfString(): IRegexQuery | null;
EndOfString(): IRegexQuery | null;
Content(content: string | null): IRegexQuery | null;
Group(content: string | null): IRegexQuery | null;
BeginGroup(): IRegexQuery | null;
EndGroup(): IRegexQuery | null;
AnyOf$1(characters: string[] | null): IRegexQuery | null;
AnyOf(characters: string | null): IRegexQuery | null;
NotAnyOf(characters: string[] | null): IRegexQuery | null;
CharsBetween(fromChar: string | null, toChar: string | null): IRegexQuery | null;
ButOnly(quantity: number): IRegexQuery | null;
ButOnlyOne(): IRegexQuery | null;
ButOnlyNoneOrOne(): IRegexQuery | null;
ButOnlyNoneOrMore(): IRegexQuery | null;
ButOnlyOneOrMore(): IRegexQuery | null;
ButOnlyBetween(fromCount: number, toCount: number):
IRegexQuery | null;
ButOnlyMoreThan(quantity: number): IRegexQuery | null;
Or(): IRegexQuery | null;
FollowedBy(content: string | null): IRegexQuery | null;
NotFollowedBy(content: string | null): IRegexQuery | null;
BeginFollowedBy(): IRegexQuery | null;
EndFollowedBy(): IRegexQuery | null;
BeginNotFollowedBy(): IRegexQuery | null;
EndNotFollowedBy(): IRegexQuery | null;
// IRegexQueryTokens
ASpace(): IRegexQuery | null;
ADigit(): IRegexQuery | null;
AWord(): IRegexQuery | null;
NotAWord(): IRegexQuery | null;
ANewLine(): IRegexQuery | null;
AtStartOfString(): IRegexQuery | null;
AtEndOfString(): IRegexQuery | null;
ATab(): IRegexQuery | null;
ACarriageReturn(): IRegexQuery | null;
AWhiteSpace(): IRegexQuery | null;
NotAWhiteSpace(): IRegexQuery | null;
AnyCharExceptNewLine(): IRegexQuery | null;
AWordBoundary(): IRegexQuery | null;
NotAWordBoundary(): IRegexQuery | null;
// IRegexQueryPatterns
ADate(): IRegexQuery | null;
ADate$1(separator?: Separator): IRegexQuery | null;
ADateSeparatedBy(separator?: Separator[] | null): IRegexQuery | null;
RegexTokens
(Constants)
StartOfString: string | null;
EndOfString: string | null;
AnyCharExceptNewLine: string | null;
Word: string | null;
NotWord: string | null;
Digit: string | null;
NotDigit: string | null;
WhiteSpace: string | null;
NotWhiteSpace: string | null;
Tab: string | null;
NewLine: string | null;
CarriageReturn: string | null;
WordBoundary: string | null;
NotWordBoundary: string | null;
FollowedBy: string | null;
NotFollowedBy: string | null;
Or: string | null;
Escape(token: string | null): string | null;
FAQs
RegexQueryJS
The npm package regex-query-js receives a total of 3 weekly downloads. As such, regex-query-js popularity was classified as not popular.
We found that regex-query-js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.