masecla22 / Reddit4J

A library which aims to attain full coverage of the Reddit API
MIT License
48 stars 21 forks source link

simplified alphanumeric check for isValidSubredditName() #15

Closed leakwok closed 1 year ago

leakwok commented 1 year ago

Replaced the for-loop with a call to matches(), utilizing regex