Posts by wellington moreira • 88 points
5 posts
-
1
votes1
answer70
viewsA: Do programs written in Ruby work on both Windows and Linux?
The platform Ruby owns the Ruby MRI - To implementation reference for interpreters of this language, written in C. The repository official testing of specifications Ruby informs that the Ruby MRI…
rubyanswered wellington moreira 88 -
4
votes2
answers98
viewsA: Eclipse creating getter with prefix is
The specification Javabeans determines patterns to be followed when writing Java objects. In the version 1.0.1 specification, more precisely in the section 8.3.2 good practice is specified for…
-
0
votes2
answers131
viewsA: Convert power
I believe this REGEX will solve your problem: \s*\^\s*(\(.*.\)|\S+) The \(.*.\) will make the match in brackets, and group its contents. The OR followed by \S+ will look for characters that are not…
-
0
votes3
answers166
viewsA: Get String Snippet with Regular Expression
I believe the code below will do what you need: String mydata = "<embed type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\"…
javaanswered wellington moreira 88 -
2
votes3
answers206
viewsA: Countdown - include month
Speak Felipe, all right? I suggest you use the momentjs - in addition to dealing with the differences between dates for you, you will still have the advantage of not worrying about maintaining an…
javascriptanswered wellington moreira 88