forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdde926b
committed
Avoid character classification in regex escape parsing.
For regex escape sequences, just test directly for the relevant ASCIIcharacters rather than using locale-sensitive characterclassification.This fixes an assertion failure when a locale considers a non-ASCIIcharacter, such as "൧", to be a digit.Reported-by: Richard GuoDiscussion:https://postgr.es/m/CAMbWs49Q6UoKGeT8pBkMtJGJd+16CBFZaaWUk9Du+2ERE5g_YA@mail.gmail.comBackpatch-through: 111 parent6d60b71 commitdde926b
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
616 | 616 |
| |
617 | 617 |
| |
618 | 618 |
| |
619 |
| - | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
620 | 624 |
| |
621 | 625 |
| |
622 | 626 |
| |
| |||
758 | 762 |
| |
759 | 763 |
| |
760 | 764 |
| |
761 |
| - | |
762 |
| - | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
763 | 770 |
| |
764 | 771 |
| |
765 | 772 |
| |
|
0 commit comments
Comments
(0)