### Summary

Please add more filters based on os.path, specifically: `os.path.commonpath`, `os.path.normpath`. It is cheap, but would be handy in such tasks as validation, archive management, programmatic path generation. Can replace a lot of loops and regex filters.

### Issue Type

Feature Idea

### Component Name

core

### Additional Information

none

### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
if isinstance(data, string_types):
        
        
        
        return yaml_load(text_type(to_text(data, errors='surrogate_or_strict')))
    return data
def from_yaml_all(data):
    if isinstance(data, string_types):
        
        
        
        return yaml_load_all(text_type(to_text(data, errors='surrogate_or_strict')))
    return data
@pass_environment
def rand(environment, end, start=None, step=None, seed=None):