Regular Expressions Enhanced

by William Chen

28 Apr 2016

Professor Rex Dwyer from NC State came to give a talk about the re module on python and what he has done to modify it. He showed us real world application of python programming on DNA sequences which was really interesting. He showed us lookarounds which didn’t really make a lot of sense to me? They seemed like they just cut strings in specific places without deleting the spot where it split it at, which was cool, but seemed like it did the same thing as the split function.

He also showed us fuzzy matching which is where it tries to find words that are close to the desired ones even if they aren’t exactly what it is and shows you how many deletions and substitutions it had to do in the process. He used the function on the exact same sentence with the requirement that it had at least 1 error, so the algorithm got greedy and grabbed parts of other words to create errors. This was pretty cool and funny as well.

After Professor Dwyer’s presentation, Chris lead “lightning talks” which are short 5-10 minute talks where people talked about their python experiences recently. It was like what we do in class when people showed their projects and got feedback and got an opportunity to talk about it. It’s interesting to see adults so ready to get up and talk about their projects and stuff, they’re not bogged down by whatever prevents students from doing the same thing. It was really cool seeing what other people are working on, whether it’s for their jobs or hobbies.

Will is a Senior Computer Science major trying to graduate and move on with his life. Find William Chen on Twitter, Github, and on the web.