INNER CODE UNIT · Python

next_char

kejilion/sh · site_access_nginx.py:64

                next_char = text[i + 1]
                if next_char in "\\\"' \t\r\n;{}#":
                    value.append(next_char)
                else:
                    value.extend((c, next_char))
                i += 2
                continue
            if quote:
                if c == quote:
                    quote = None
                else:
                    value.append(c)
                i += 1
                continue
            if c in "\"'":
                quote = c
                i += 1
                continue

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…