Opened 10 years ago
#7176 new Bugs
Infinite loop in regex.replace rule.
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
regex.replace falls into infinite "while $(parts)" loop if "match" parameter is empty string. Example:
import regex ;
str = blabla ; from = "" ; to = ":" ; res = [ regex.replace $(str) $(from) $(to) ] ; ECHO res: ; ECHO $(res) ;
Note:
See TracTickets
for help on using tickets.