Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add `CPC_TAKE_TILL_CHARS`

Open Beginner friendly
#16 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
64/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
c
Domain
backend

Research direction

Start by reading the existing CPC_TAKE_TILL_ONE_OF macro and the internal ___cpc_find_first_of function in the project header. Adapt the macro to pass its variadic arguments as input to that function, then check existing tests for the combinator and add coverage showing that a variable list of characters is accepted.

Written by the indexing model from the issue text.

Description

difficulty: easy

Problem

The SIMD combinator we have CPC_TAKE_TILL_ONE_OF only accepts a string as parameter, in some cases it'd be useful to have a variable list of chars as arguments.

Solution

Add:

define CPC_TAKE_TILL_CHARS(name, ...)

It should use the __VA_ARGS__ as input to the internal ___cpc_find_first_of functin.

Dominant language
C
Stars
92
Forks
3
Avg merge
55m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PostgREST/CParseC

All issues in PostgREST/CParseC

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.