Skip to main content
Commonmark migration
Source Link

#MATL, 32 41 43 bytes

MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 

MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Source Link

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer@DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 
added 1 character in body
Source Link
Luis Mendo
  • 106.7k
  • 10
  • 139
  • 382

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTruma's@DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTruma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 

#MATL, 32 41 43 bytes

jk'^(2|t[ow]?o|t0),b(e?e?|3)$'XX 

Same approach as @DigitalTrauma's Retina answer. Inputs are separated by a comma. Truthy output is a string with the two inputs lowercased; falsy is no output.

Try it online!

j % input as a string k % convert to lowercase '^(2|t[ow]?o|t0),b(e?e?|3)$' % regular expression to match the two inputs XX % match regular expression 
added 65 characters in body
Source Link
Luis Mendo
  • 106.7k
  • 10
  • 139
  • 382
Loading
added 12 characters in body
Source Link
Luis Mendo
  • 106.7k
  • 10
  • 139
  • 382
Loading
added 3 characters in body
Source Link
Luis Mendo
  • 106.7k
  • 10
  • 139
  • 382
Loading
added 108 characters in body
Source Link
Luis Mendo
  • 106.7k
  • 10
  • 139
  • 382
Loading
Source Link
Luis Mendo
  • 106.7k
  • 10
  • 139
  • 382
Loading