The other constituent parts of the regular expression each use capturing groups (indicated by parentheses in the pattern), which are then used in the backreference codes ($1, $2, $3) in the replacement string of the replace() method.
일반 표현식의 다른 구성 요소는 각각 일반 표현식 패턴에서 괄호로 표시되는 캡처 그룹을 사용하고 이러한 그룹은 replace() 메서드의 대체 문자열에서 역참조 코드($1, $2, $3)에 사용됩니다.
Capturing groups in Regex allows us keep parts of the string.
Resolution To resolve this error, be sure that the number of capturing groups in the regex pattern matches the number of fields that were defined when you created the table in Athena.
이 오류를 해결하려면 정규식 패턴의 캡처 그룹 수가 Athena에서 테이블을 만들 때 정의한 필드 수와 일치하는지 확인합니다.
Named groups behave exactly like capturing groups, and additionally associate a name with a group.
The integer index of the last matched capturing group, or None if no group was matched at all.
마지막으로 일치하는 포착 그룹의 정수 인덱스, 또는 그룹이 전혀 일치하지 않으면 None.
It should be mentioned that there's no performance difference in searching between capturing and non-capturing groups; neither form is any faster than the other.
But if we put quantifier after a capturing group then it repeats the whole capturing group.
하지만, 만약 하나의 캡쳐링 그룹 뒤에 정량자를 넣는 경우에는 캡쳐링 그룹 전체의 반복을 나타내게 된다.
The name of the last matched capturing group, or None if the group didn't have a name, or if no group was matched at all.
마지막으로 일치하는 포착 그룹의 이름, 또는 그룹에 이름이 없거나, 그룹이 전혀 일치하지 않으면 None.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.