Janosch Müller

Results 38 comments of Janosch Müller

a valid example for full pattern recursion (`\g`) could be: `/a(b|\g)/` (which is equivalent to `/a+b/`) the references `-n`, `+n` are a relative index of a preceding/succeeding group, so a...

greetings! may i ask what your use case is? as far as i can tell, supporting the `u` flag would bring mostly cosmetic benefits and make the conversion result more...

yeah that would be neat, but it would require a parser for JavaScript regular expressions to do it cleanly. i don't think there is one in Ruby, and it isn't...

i've finally gotten around to supporting modern JS! there is now an optional `target:` argument. `JsRegex.new(regexp, target: 'ES2015')` makes use of the `u` flag and suffices for most of the...

there is a circular load dependency, our workaround is to pre-define the module: ```ruby # Gemfile gem 'email_spec', require: false ``` ```ruby # config/initializers/email_spec.rb ActiveSupport.on_load(:action_mailer) do # fix https://github.com/email-spec/email-spec/issues/220 module...

it would be nice for consistency and avoiding surprises. maybe a possible route to migration could look like this? 1. make it a `SyntaxError`, e.g. `possessive interval qualifiers are not...

@tom-lord i can relate well to the background of this gem. it's just how i started with js_regex, asking myself, how much work can it be? answer: a lot 😂...

> BTW, should the name of the operator be "absence operator" instead of "absent operator"? I think so. "absent operator" is a confusing name, because it could just as well...

I thought this should perhaps rather be a toggleable feature of rspec itself, went looking for it, and found some interesting discussion of the idea and some worthwhile counter-arguments in...

I think both would be nice to have. I'd argue that even for `shared_*`, it should only happen when passing a flag, though. Right now `rspectre` is a zero config...