Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Regextest generates sample string that matches with regular expression. Unlike similar tools, it recognizes anchors, charactor classes and other advanced notation of ruby regex. Target users are programmers or students for debugging/learning regular expression.
You can use sample application without installation. For using at your local machine, add this line to your application's Gemfile:
gem 'regextest'
And then execute:
$ bundle
Or install it yourself as:
$ gem install regextest
require "regextest"
/\d{5}/.sample #=> "62853"
5.times.map{/\w{5}/.sample} #=> ["mCcA5", "1s3Ae", "9HYbe", "x3T0A", "TJHlQ"]
/(?<=pre)body(?=post)/.sample #=> "prebodypost"
/(?=[a-z])\w{5}(?<=_\d)/.sample #=> "nCc_0"
/(?<=pre)body(?=post)/.match_data #=> #<MatchData "body">
palindrome = /\A(?<a>|.|(?:(?<b>.)\g<a>\k<b+0>))\z/
palindrome.sample #=> "a]r\\CC\\r]a"
palindrome.match_data #=> #<MatchData "z2#2z" a:"z2#2z" b:"2">
require "regextest"
/(1|11){100}$/.sample #=> raise Regextest::Common::RegextestTimeout: ...
/(1|11){100}$/.sample(verification: false) #=> '11111111...'
Visit git repository for developing
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)See issues tracker for more detail.
FAQs
Unknown package
We found that regextest demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.