src/player-birth.c
char *find_roman_suffix_start(const char *buf)
{
	const char *start = strrchr(buf, ' ');
	const char *p;
	
	if (start) {
		start++;
		p = start;
		while (*p) {
			if (*p != 'I' && *p != 'V' && *p != 'X' && *p != 'L' &&
			    *p != 'C' && *p != 'D' && *p != 'M') {
				start = NULL;
				break;
			}
			++p;			    
		}
	}
	return (char *)start;
}
/**
 * Find the start of a possible Roman numerals suffix by going back from the
 * end of the string to a space, then checking that all the remaining chars
 * are valid Roman numerals.
 * 
 * Return the start position, or NULL if there isn't a valid suffix. 
 */
Find the start of a possible Roman numerals suffix by going back from the
end of the string to a space, then checking that all the remaining chars
are valid Roman numerals.

Return the start position, or NULL if there isn't a valid suffix.
Find the start of a possible Roman numerals suffix by going back from the end of the string to a space then checking that all the remaining chars are valid Roman numerals . Return the start position or NULL if there isn ' t a valid suffix .
char *find_roman_suffix_start(const char *buf)
{
	const char *start = strrchr(buf, ' ');
	const char *p;
	if (start) {
		start++;
		p = start;
		while (*p) {
			if (*p != 'I' && *p != 'V' && *p != 'X' && *p != 'L' &&
			    *p != 'C' && *p != 'D' && *p != 'M') {
				start = NULL;
				break;
			}
			++p;			    
		}
	}
	return (char *)start;
}
char * find_roman_suffix_start ( const char * buf ) { const char * start = strrchr ( buf , ' ' ) ; const char * p ; if ( start ) { start ++ ; p = start ; while ( * p ) { if ( * p != ' ' && * p != ' ' && * p != ' ' && * p != ' ' && * p != ' ' && * p != ' ' && * p != ' ' ) { start = NULL ; break ; } ++ p ; } } return ( char * ) start ; }
Find the start of a possible Roman numerals suffix by going back from the
 end of the string to a space, then checking that all the remaining chars
 are valid Roman numerals.
Find the start of a possible Roman numerals suffix by going back from the end of the string to a space then checking that all the remaining chars are valid Roman numerals .