Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
regex.rb
#Title of this code #ruby 2.1.2p95 # Extract date from string REGEX = /(?<d>[0-9]{2})\ (?<m>[0-9]{2})\ (?<y>[0-9]{4})/ "Just some date: 26 02 2015." =~ REGEX puts $~
run
|
edit
|
history
|
help
0
simple cache
Ruby
3.4.0 / 3.5.2 / 3.5.1 / 3.6.1 / 3.6.5.#
variables 1
numbers
Ruby Inheritence
comments
string orperations lecture and print
faktorial
MY CODE