🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Peter Brandstetter
    Peter Brandstetter
    7,163 Points

    Using variables for min. or max. length of a match

    Posted July 14, 2022 6:20pm by Peter Brandstetter
    Peter Brandstetter
    7,163 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • Vijay Sehgal
    Vijay Sehgal
    2,627 Points

    It takes a lot of time rendering. Why is this so?

    Posted October 9, 2019 4:36pm by Vijay Sehgal
    Vijay Sehgal
    2,627 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    0 Answers

  • Sanjay Noronha
    Sanjay Noronha
    7,296 Points

    Regex for treehouse using sets/character classes?

    Posted May 29, 2018 7:25am by Sanjay Noronha
    Sanjay Noronha
    7,296 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    2 Answers

  • nuri jeon
    nuri jeon
    14,376 Points

    Position of the elements in the set! :D I have a question!

    Posted March 5, 2018 12:24pm by nuri jeon
    nuri jeon
    14,376 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • nicole lumpkin
    PLUS
    nicole lumpkin
    Courses Plus Student 5,328 Points

    Using the + character at the end of a set

    Posted August 17, 2017 6:07pm by nicole lumpkin
    nicole lumpkin
    Courses Plus Student 5,328 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    2 Answers

  • Keith Ostertag
    Keith Ostertag
    16,619 Points

    Regex for teamtreehouse or treehouse?

    Posted July 29, 2017 7:27pm by Keith Ostertag
    Keith Ostertag
    16,619 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    5 Answers

  • Ryan Fadholi
    Ryan Fadholi
    5,168 Points

    Why the + sign in the set doesn't have to be escaped?

    Posted February 12, 2017 9:40am by Ryan Fadholi
    Ryan Fadholi
    5,168 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    2 Answers

  • vikas pal
    vikas pal
    11,563 Points

    explain sets in python

    Posted October 9, 2016 5:28am by vikas pal
    vikas pal
    11,563 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • Mona Jalal
    Mona Jalal
    4,302 Points

    confusion about \b

    Posted June 3, 2016 5:16am by Mona Jalal
    Mona Jalal
    4,302 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • Fred Young
    Fred Young
    15,523 Points

    Does a period need a backslash inside of square brackets?

    Posted May 18, 2016 1:15am by Fred Young
    Fred Young
    15,523 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • Sahar Nasiri
    Sahar Nasiri
    7,454 Points

    Can we use "?" as a optional character

    Posted March 2, 2016 10:15am by Sahar Nasiri
    Sahar Nasiri
    7,454 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • C H
    C H
    6,587 Points

    Is \d required when \w is being used such as in the email address search?

    Posted September 7, 2015 4:52pm by C H
    C H
    6,587 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    1 Answer

  • Welby Obeng
    Welby Obeng
    20,340 Points

    Can someone explain the + well for me

    Posted February 26, 2015 7:57pm by Welby Obeng
    Welby Obeng
    20,340 Points
    • Python
    • Regular Expressions in Python
    • Introduction to Regular Expressions
    • Sets

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.