[General boards] [Fall 2018 courses] [Summer 2018 courses] [Winter 2018 courses] [Older or newer terms]

Q2 of April 2016: How does one check for length in a regex pattern?


#1
  1. Binary string that doesn’t contain the substring 110.

  2. Binary string that has an odd length.

  3. Binary string that starts with 0, and has an odd length. Or starts with 1 and has an even length.


#2

sound awfully like 236


#3

Well let’s hope it’s not on the exam :sweat: