# std: fix false positive for \`zig.isValidId\` with empty string \(\#11104\) · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/017d3864de1f337d01726e87534a4e2093c7265f)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 017d3864de1f337d01726e87534a4e2093c7265f

Requested commit: 017d3864de1f337d01726e87534a4e2093c7265f

Commit: 017d3864de1f337d01726e87534a4e2093c7265f

Tree: 52276b6096f00a53b7861bbb842d69d55fd0e0d4

Author: Meghan

Committer: GitHub

## Message

```
std: fix false positive for `zig.isValidId` with empty string (#11104)

* std: fix false positive for `zig.isValidId` with empty string, fixes #11099
* std: add zig.isValidId tests
```

## Parents

- [f32a77b30df48552897a5c9023c39d8ba6610821](https://git.cafe/gitcafe/zig/commit/f32a77b30df48552897a5c9023c39d8ba6610821?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/017d3864de1f337d01726e87534a4e2093c7265f?format=markdown)
