Is Java regex greedy?

By default (as in example X+) Java regex quantifiers are greedy , the regex engine starts out by matching as many characters it can. We can change this default behavior by appending another metacharacter e.g. X+?.

Sizin İçin Seçtik  Is SAS string comparison case sensitive?

Leave a Reply

Your email address will not be published. Required fields are marked *