int main(int argc, char** argv) {
puts("\nColrC supports ");
", ",
));
"Strings and ",
" can be mixed in any order."
);
char* mystr =
colr(
"Don't want to print this.",
style(UNDERLINE));
printf("\nNow I do: %s\n", mystr);
free(mystr);
"Exhibit: ",
"\nThe ColorText/Colr was released."
);
puts(catted);
free(catted);
if (argc == 1) {
} else {
}
char* userstr =
colr_cat(
"Argument: ", ctext);
puts(userstr);
free(userstr);
for (int i = 1; i < 4; i++) printf("%s This is #%d\n", warning_label, i);
free(warning_label);
char* logtext = "[warning] This is an awesome warning.";
logtext,
"warning",
);
if (!colorized) return EXIT_FAILURE;
puts(colorized);
free(colorized);
logtext,
"\\[\\w+\\]",
"(",
")"
),
REG_EXTENDED
);
if (!colorized) return EXIT_FAILURE;
puts(colorized);
free(colorized);
char* logtext2 = "[warning] This is an awesome warning.";
logtext2,
"warning",
);
if (!colorizedall) return EXIT_FAILURE;
puts(colorizedall);
free(colorizedall);
}