Buckets:

download
raw
573 Bytes
"""Shared parsing for comma-separated PDD include ``select`` attribute values."""
from __future__ import annotations
import re
def parse_selectors_string(selectors_str: str) -> list[str]:
"""Split selector strings without breaking ``kind:value,more`` continuations."""
raw_parts = [s.strip() for s in selectors_str.split(",") if s.strip()]
selectors: list[str] = []
for part in raw_parts:
if re.match(r"^\w+:", part) or not selectors:
selectors.append(part)
else:
selectors[-1] += "," + part
return selectors

Xet Storage Details

Size:
573 Bytes
·
Xet hash:
bd4b3a533707034b2ff87a9459a44490a52bf2a9434304217df856d12600e3de

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.