rdubya has joined #jruby
rdubya has quit [Client Quit]
rdubya has joined #jruby
rdubya has quit [Client Quit]
_whitelogger has joined #jruby
temporalfox has joined #jruby
pawnbox has joined #jruby
_whitelogger has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #jruby
shellac has joined #jruby
vtunka has joined #jruby
joast has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
vtunka has quit [Quit: Leaving]
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
shellac has joined #jruby
shellac has quit [Ping timeout: 246 seconds]
vtunka has joined #jruby
<
GitHub171>
[jruby-openssl] roadrunner2 opened pull request #144: Fix loading of Subject/Issuer-Alt-Name extensions. (master...san-ian-extension-fix)
https://git.io/vdCpm
shellac has joined #jruby
drbobbeaty has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 248 seconds]
pawnbox has joined #jruby
rdubya has joined #jruby
drbobbeaty has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
bbrowning_away is now known as bbrowning
drbobbeaty has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
vtunka has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
joast has joined #jruby
pawnbox has quit [Remote host closed the connection]
rdubya has quit [Quit: Leaving.]
rdubya has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
madrob has joined #jruby
pawnbox has joined #jruby
<
madrob>
G'morning folks. Have a jruby->java question.
<
madrob>
I've got a ruby /regex/ that I need to pass to Java code as a Pattern
<
madrob>
Doing Pattern.compile(/regex/.to_s) doesn't work.
<
enebo>
madrob: yeah likely you need to escape backslashes more
<
enebo>
madrob: I should say that is my normal problem but ruby regexp is more featureful than Java's as well
<
madrob>
i'm testing it with /.*/
<
madrob>
not sure there's anything really to escape there
<
lopex>
java.util.regex.Pattern.compile(/a+/.to_s).matcher("aa").matches seems to be working
<
madrob>
Hmm, you're right, just tried that in an irb
<
madrob>
Is asking that jruby transparently transform regex into Pattern a reasonable feature req?
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
<
enebo>
lopex: I think you agree that is not a good feature right
<
enebo>
lopex: Ruby regexp has too much stuff Java does not
enebo has quit [Ping timeout: 248 seconds]
pawnbox has quit [Quit: gotta go guys.]
enebo has joined #jruby
madrob has joined #jruby
<
madrob>
Is it insane to try and reopen j.u.r.Pattern and add a method to take an org.jruby.RubyRegex?
<
madrob>
I'll tinker on that later. New question.
<
madrob>
ruby-lint gives me "error: line 21, column 1: undefined method java_import"
drbobbeaty has quit [Read error: Connection reset by peer]
drbobbeaty has joined #jruby
<
kares>
madrob: just re-open and add it, also the Java Integration extensions already make j.u.Pattern (and Matcher) behave like Regexp
<
kares>
there's =~, match, === etc; begin/end/offset/[] etc on Java Matcher
<
nirvdrum>
enebo: I forgot. Have you guys got a branch with Java 9 support?
rdubya has quit [Quit: Leaving.]
elia has joined #jruby
rdubya has joined #jruby
shellac has quit [Quit: Leaving]
elia has quit [Quit: Computer has gone to sleep.]
drbobbeaty has quit [Ping timeout: 255 seconds]
<
GitHub19>
[jruby] madrob opened pull request #4803: Support Pattern.compile(/regex/) (master...master)
https://git.io/vdWhr
shellac has joined #jruby
drbobbeaty has joined #jruby
<
GitHub111>
jruby/master 86b8d85 kares: [ji] since JRuby is now (9.2) Java 8+ we can skip the Java 7 compat hacks
subbu is now known as subbu|lunch
shellac has quit [Quit: Computer has gone to sleep.]
ahorek has joined #jruby
ahorek has quit [Client Quit]
subbu|lunch is now known as subbu
madrob has joined #jruby
shellac has joined #jruby
shellac has quit [Client Quit]
shellac has joined #jruby
shellac has quit [Client Quit]
shellac has joined #jruby
elia has joined #jruby
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
rdubya has quit [Quit: Leaving.]
elia has quit [Quit: Computer has gone to sleep.]
bbrowning is now known as bbrowning_away
elia has joined #jruby
elia has quit [Client Quit]
drbobbeaty has quit [Read error: Connection reset by peer]
rdubya has joined #jruby
rdubya has quit [Client Quit]
swills has quit [Ping timeout: 240 seconds]
shellac has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
bbrowning_away is now known as bbrowning
swills has joined #jruby
swills_ has joined #jruby
swills_ has quit [Client Quit]