Skip to main content
Code Review

Return to Question

replaced http://codereview.stackexchange.com/ with https://codereview.stackexchange.com/
Source Link

A large feedback has been taken from here here.

A large feedback has been taken from here.

A large feedback has been taken from here.

added 14 characters in body
Source Link
Uri Agassi
  • 6.7k
  • 1
  • 18
  • 48
  1. .. (dot) means a any single character match
    • (star) means 0 or more character match
    * (star) means 0 or more character match
  2. ?? (question) means previous char is an option ie colou?ri.e colou?r matches colorcolor and colourcolour.

I'm looking for code review, optimizations, best practices. I also still get confused with complexity. Let's say regex string has length of m and string has length of n. Then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)O(n! * (n-1)! * ... (n-m)!)

  1. . (dot) means a any single character match
    • (star) means 0 or more character match
  2. ? (question) means previous char is an option ie colou?r matches color and colour.

I'm looking for code review, optimizations, best practices. I also still get confused with complexity. Let's say regex string has length of m and string has length of n. Then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)

  1. . (dot) means a any single character match
  2. * (star) means 0 or more character match
  3. ? (question) means previous char is an option i.e colou?r matches color and colour.

I'm looking for code review, optimizations, best practices. I also still get confused with complexity. Let's say regex string has length of m and string has length of n. Then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)

Tweeted twitter.com/#!/StackCodeReview/status/441524107302436864
added 3 characters in body
Source Link
Jamal
  • 35.2k
  • 13
  • 134
  • 238

A large feedback has been taken from here .

A large feedback has been taken from here .

Looking for code review, optimizations, best practices. Also I still get confused with complexity lets say regex string had length of m and string had length of n then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)

I'm looking for code review, optimizations, best practices. I also still get confused with complexity. Let's say regex string has length of m and string has length of n. Then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)

A large feedback has been taken from here .

Looking for code review, optimizations, best practices. Also I still get confused with complexity lets say regex string had length of m and string had length of n then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)

A large feedback has been taken from here .

I'm looking for code review, optimizations, best practices. I also still get confused with complexity. Let's say regex string has length of m and string has length of n. Then it appears the complexity would be O(n! * (n-1)! * ... (n-m)!)

Source Link
JavaDeveloper
  • 8.5k
  • 29
  • 93
  • 162
Loading
lang-java

AltStyle によって変換されたページ (->オリジナル) /