![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
mlightner-enhanced_regexp
Advanced tools
Author: mlightner@gmail.com
This package extends the functionality of Regexp objects by adding methods to create copies of them with modified options. It also allows for toggling of "inverted" status on a regexp object.
Example:
require 'rubygems'
require 'enhanced_regexp'
irb> exp = /test/i
=> /test/i
irb> exp.case_sensitive?
=> true
irb> exp2 = exp.without_case
=> /test/
irb> exp2.case_sensitive?
=> false
irb> mlx = /test.*multiline/
=> /test.*multiline/
irb> "test\n multiline".match(mlx)
=> nil
irb> "test\n multiline".match(mlx.with_multiline)
=> #MatchData:0xb7c0c004
irb> "test\n multiline".match(mlx.with_multiline).inspect
=> "#MatchData:0xb7c0725c"
irb> invx = /hello/i.invert!
=> /hello/i
irb> invx.inverted?
=> true
irb> "oh hello".match(invx)
=> false
irb> "oh hai".match(invx)
=> true
irb> invx.uninvert!
=> /hello/i
irb> "oh hello".match(invx)
=> #MatchData:0xb7bedac8
NOTES:
FAQs
Unknown package
We found that mlightner-enhanced_regexp 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
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.